zstan commented on code in PR #13316:
URL: https://github.com/apache/ignite/pull/13316#discussion_r3584643093
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicAbstractUpdateFuture.java:
##########
@@ -153,6 +157,9 @@ public abstract class GridNearAtomicAbstractUpdateFuture
extends GridCacheFuture
/** Handle binary in interceptor operation flag. */
protected boolean keepBinaryInInterceptor;
+ /** Near entries reserved against eviction for the time of update. */
+ protected Map<KeyCacheObject, GridNearCacheEntry> reservedEntries;
Review Comment:
ok, i comment this line : `//reservedEntries.put(key, entry);`
and run assembly tests like :
```
@Test
public void test0() throws Exception {
testNearEntryUpdateRacePut();
afterTest();
testNearEntryUpdateRacePutIfAbsent();
afterTest();
testNearEntryUpdateRaceInvoke();
afterTest();
testNearEntryUpdateRacePutAll();
}
```
100 times tests are passed, thus i still miss - why we need such a structure
if no eviction is configured ?
<img width="743" height="253" alt="image"
src="https://github.com/user-attachments/assets/404b5a1b-027e-413d-922a-5e8566ed7d47"
/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]