IGNITE-28920 Reduce MarshallableMessage scope: GridCacheEntryInfo uses marshal hooks only to rebase expireTime - #13447
Conversation
…age-scope-GridCacheEntryInfo-uses-marshal-hooks-only-to-rebase-expireTime' into IGNITE-28920-Reduce-MarshallableMessage-scope-GridCacheEntryInfo-uses-marshal-hooks-only-to-rebase-expireTime # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEntryInfo.java # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtGetFuture.java
…ope-GridCacheEntryInfo-uses-marshal-hooks-only-to-rebase-expireTime
…age-scope-GridCacheEntryInfo-uses-marshal-hooks-only-to-rebase-expireTime' into IGNITE-28920-Reduce-MarshallableMessage-scope-GridCacheEntryInfo-uses-marshal-hooks-only-to-rebase-expireTime # Conflicts: # modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEntryInfo.java
|
An entry from a cache without an expiry policy now arrives already expired.
public GridCacheEntryInfo() {
initTime = System.currentTimeMillis();
}So on the receiver
That is every entry of every cache that has no expiry policy, on rebalance and on every get response. On rebalance
Same thing at the unit level: assertEquals(0, writeAndReadBack(entryInfo(0)).expireTime());
java.lang.AssertionError: expected:<0> but was:<1786287823668>The mark has to live in a transferred field. |
Possible compatibility issues. Please, check rolling upgrade casesThis PR modifies protected classes (with Order annotation). Affected files:
|
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summarywhereXXXX- number of JIRA issue.(see the Maintainers list)
the
green visaattached to the JIRA ticket (see tabPR Checkat TC.Bot - Instance 1 or TC.Bot - Instance 2)Notes
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.