zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolivelli <...@git.apache.org>
Subject [GitHub] zookeeper pull request #624: ZOOKEEPER-3108:use a new property server.id in ...
Date Fri, 14 Sep 2018 16:05:37 GMT
Github user eolivelli commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/624#discussion_r217763082
  
    --- Diff: src/java/main/org/apache/zookeeper/server/quorum/flexible/QuorumMaj.java ---
    @@ -83,7 +83,7 @@ public QuorumMaj(Properties props) throws ConfigException {
                 String key = entry.getKey().toString();
                 String value = entry.getValue().toString();
     
    -            if (key.startsWith("server.")) {
    +            if (key.startsWith("server.") && !key.startsWith("server.id")) {
    --- End diff --
    
    Maybe key.equals(server.id)


---

Mime
View raw message