Reidddddd commented on a change in pull request #319: HBASE-22596 [Chore]
Separate the execution period between
URL: https://github.com/apache/hbase/pull/319#discussion_r294363918
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
##########
@@ -548,6 +553,8 @@ public HRegionServer(Configuration conf,
CoordinatedStateManager csm)
this.numRetries = this.conf.getInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER,
HConstants.DEFAULT_HBASE_CLIENT_RETRIES_NUMBER);
this.threadWakeFrequency = conf.getInt(HConstants.THREAD_WAKE_FREQUENCY,
10 * 1000);
+ this.compactionCheckFrequency = conf.getInt(PERIOD_COMPACTION,
this.threadWakeFrequency);
+ this.flushCheckFrequency = conf.getInt(PERIOD_FLUSH,
this.threadWakeFrequency);
Review comment:
For keeping the old behavior, if both new paras are unset, then just use
threadWakeFrequency as their default value.
----------------------------------------------------------------
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