gokceni 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_r343807333
##########
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:
Nit: We don't need a boolean. We can just return count > 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