nizhikov commented on code in PR #9907:
URL: https://github.com/apache/ignite/pull/9907#discussion_r875741843


##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/consistency/AbstractFullSetReadRepairTest.java:
##########
@@ -40,80 +42,78 @@ public abstract class AbstractFullSetReadRepairTest extends 
AbstractReadRepairTe
     /**
      *
      */
-    protected static final Consumer<ReadRepairData> GET_CHECK_AND_FIX = (data) 
-> {
-        IgniteCache<Integer, Integer> cache = data.cache;
+    protected static final Consumer<ReadRepairData> GET_CHECK_AND_REPAIR = 
(data) -> {

Review Comment:
   Looks like `GET_CHECK_AND_REPAIR` and `GETALL_CHECK_AND_REPAIR` checks can 
be deduplicated.
   
   Can we make `Map<Integer, Object> res;` for `GET_CHECK_AND_REPAIR` with the 
multiple `get` invocation and after that just made the same checks as fro 
`GETALL` analogue?



-- 
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]

Reply via email to