kadirozde commented on code in PR #1951:
URL: https://github.com/apache/phoenix/pull/1951#discussion_r1714163521
##########
phoenix-core-server/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java:
##########
@@ -366,7 +365,8 @@ public int getMaxPendingRowCount() {
private boolean shouldWALAppend = DEFAULT_PHOENIX_APPEND_METADATA_TO_WAL;
private boolean isNamespaceEnabled = false;
private boolean useBloomFilter = false;
-
+ private long lastTimestamp = 0;
Review Comment:
It is accessed only in synchronized block and should be accessed only in
synchronized block. So there is no need to define it as volatile or atomic,
which will give the wrong impression.
--
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]