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)


---

Reply via email to