Merge identifyNode into its only caller.
Also, tweak condition order to accelerate the most likely case: it is expected to have more clients than storage nodes, more storage nodes than master nodes, more master nodes than admin nodes and no unknown node type.
Showing
Please register or sign in to comment