You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/12/15 05:31:18 UTC

[GitHub] ArvinDevel commented on a change in pull request #851: Issue 578 : make MajorCompaction controlled by time of the day/day of the week

ArvinDevel commented on a change in pull request #851: Issue 578 : make MajorCompaction controlled by time of the day/day of the week
URL: https://github.com/apache/bookkeeper/pull/851#discussion_r157126564
 
 

 ##########
 File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java
 ##########
 @@ -183,6 +233,8 @@ public GarbageCollectorThread(ServerConfiguration conf,
                + majorCompactionThreshold + ", interval=" + majorCompactionInterval);
 
         lastMinorCompactionTime = lastMajorCompactionTime = MathUtils.now();
+        calendar = Calendar.getInstance();
 
 Review comment:
   I think that using the default system timezone is ok, the user configure the specified time  period using their default system timezone usually.
   What does you mean that explicitly configure a timezone?  Adding a new field to timezone in config file?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services