ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] anton-vinogradov commented on a change in pull request #5656: IGNITE-10663 Read Repair
Date Mon, 17 Jun 2019 12:57:50 GMT
anton-vinogradov commented on a change in pull request #5656: IGNITE-10663 Read Repair
URL: https://github.com/apache/ignite/pull/5656#discussion_r294283867
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/IgniteCache.java
 ##########
 @@ -136,6 +136,28 @@
      */
     public IgniteCache<K, V> withPartitionRecover();
 
+    /**
+     * Gets an instance of {@code IgniteCache} that will perform backup nodes check on each
get attempt.
+     *
+     * Read Repair means that each backup node will be checked to have the same entry as
primary node has,
+     * and in case consistency violation found:
+     * for transactional caches:
+     * - values across the topology will be replaced by latest versioned value:
+     * -- automaticaly for OPTIMISTIC || READ_COMMITTED transactions
+     * -- at commit() for PESSIMISTIC && !READ_COMMITTED transactions
+     * - consistency violation event will be recorded in case it's configured as recordable
+     * for atomic caches: consistency violation exception will be thrown.
+     *
+     * One more important thing is that this proxy usage does not guarantee "all copies check"
in case value
 
 Review comment:
   tx visibility can't be hacked.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message