anton-vinogradov commented on a change in pull request #9661:
URL: https://github.com/apache/ignite/pull/9661#discussion_r776385526
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
##########
@@ -4896,13 +4901,13 @@ protected V get(
/*skip vals*/false,
needVer);
- if (readRepair) {
+ if (readRepairStrategy != null) {
CacheOperationContext opCtx = ctx.operationContextPerCall();
return getWithRepairAsync(
fut,
() -> repairAsync(key, opCtx, false),
- () -> repairableGetAsync(key, deserializeBinary, needVer,
readRepair));
+ () -> repairableGetAsync(key, deserializeBinary, needVer,
readRepairStrategy));
Review comment:
such optimization will require refactoring when we need this info in
addition to the knowledge that strategy is not null.
--
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]