You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/08/28 02:08:56 UTC

[GitHub] [hbase] WenFeiYi commented on a change in pull request #2321: HBASE-24958 CompactingMemStore.timeOfOldestEdit error update

WenFeiYi commented on a change in pull request #2321:
URL: https://github.com/apache/hbase/pull/2321#discussion_r478791250



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java
##########
@@ -95,7 +96,10 @@ protected void resetActive() {
         memstoreAccounting.getHeapSize(), memstoreAccounting.getOffHeapSize(),
         memstoreAccounting.getCellsCount());
     }
-    timeOfOldestEdit = Long.MAX_VALUE;
+  }
+
+  protected void resetTimeOfOldestEdit() {
+    this.timeOfOldestEdit = Long.MAX_VALUE;

Review comment:
       yes, is Long.MAX_VALUE. it get change when  flushInMemory.




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