kadirozde commented on a change in pull request #621: PHOENIX-5562 Simplify 
detection of concurrent updates on data tables with indexes
URL: https://github.com/apache/phoenix/pull/621#discussion_r343820608
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java
 ##########
 @@ -131,8 +124,8 @@ public long getCount() {
           return count;
       }
 
-      public long getLatestTimestamp() {
-          return latestTimestamp;
+      public boolean isConcurrent() {
+          return concurrent;
 
 Review comment:
   I cannot do that because the count is a reference count. I would not know if 
the row has gone through concurrent updates when the reference count drops to 1.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to