zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fang...@apache.org
Subject [zookeeper] branch master updated: ZOOKEEPER-3546: fix missed change, default should be 0 not Long.MAX_VALUE
Date Tue, 03 Dec 2019 18:35:57 GMT
This is an automated email from the ASF dual-hosted git repository.

fangmin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new b2a671e  ZOOKEEPER-3546: fix missed change, default should be 0 not Long.MAX_VALUE
b2a671e is described below

commit b2a671e6a7b7f323a2a5659222429dfcc21e17cd
Author: randgalt <jordan@jordanzimmerman.com>
AuthorDate: Tue Dec 3 10:35:41 2019 -0800

    ZOOKEEPER-3546: fix missed change, default should be 0 not Long.MAX_VALUE
    
    fix missed change, default should be 0 not Long.MAX_VALUE
    
    Author: randgalt <jordan@jordanzimmerman.com>
    
    Reviewers: eolivelli@apache.org, fangmin@apache.org
    
    Closes #1158 from Randgalt/ZOOKEEPER-3546-allow-delete-of-never-used-containers-fixit
---
 .../src/main/java/org/apache/zookeeper/server/ContainerManager.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ContainerManager.java
b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ContainerManager.java
index 66b0240..63f750d 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/server/ContainerManager.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/server/ContainerManager.java
@@ -59,7 +59,7 @@ public class ContainerManager {
      *                     herding of container deletions
      */
     public ContainerManager(ZKDatabase zkDb, RequestProcessor requestProcessor, int checkIntervalMs,
int maxPerMinute) {
-        this(zkDb, requestProcessor, checkIntervalMs, maxPerMinute, Long.MAX_VALUE);
+        this(zkDb, requestProcessor, checkIntervalMs, maxPerMinute, 0);
     }
 
     /**


Mime
View raw message