Github user tonysun83 commented on a diff in the pull request:

    https://github.com/apache/couchdb-mem3/pull/17#discussion_r54021211
  
    --- Diff: src/mem3.erl ---
    @@ -254,6 +254,11 @@ allowed_nodes() ->
     nodes_in_zone(Nodes, Zone) ->
         [Node || Node <- Nodes, Zone == mem3:node_info(Node, <<"zone">>)].
     
    +non_maintenance_nodes() ->
    +    Nodes = [node() | erlang:nodes()],
    +    {Modes, _} = rpc:multicall(config, get, ["couchdb", 
"maintenance_mode"]),
    --- End diff --
    
    @iilyak : ya that was my intent. Are you saying I shouldn't rely on this 
because the current node() should not be included in the check? Also, does 
order matter in this case?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to