menelaus_event used to subscribe to ns_config_events, but it was changed to chronicle_compat_events. After that change menelaus_event:sync(ns_config_event) stopped working, which triggers the following race condition:
in node addition scenario, it might happen that web server is still restarting, when the node-being-added receives completeJoin http req.
UPDATE: node-init scenario is also affected (when ipfamily is being flipped during init)
|For Gerrit Dashboard: MB-48411|
|161280,1||MB-48411: Sync with proper menelaus_event handler||master||ns_server||Status: ABANDONED||0||0|
|161281,2||MB-48411: Sync with proper menelaus_event handler||cheshire-cat||ns_server||Status: MERGED||+2||+1|
|161442,2||Merge remote-tracking branch 'couchbase/cheshire-cat'||master||ns_server||Status: MERGED||+2||+1|