code: protected Node selectPeer() {
          Cluster cluster = metadataStore.getCluster();
          int nodes = cluster.getNumberOfNodes();
          Node node;
          do {
              node = cluster.getNodeById(random.nextInt(nodes));
          } while(node.getId() == metadataStore.getNodeId());
  
          return node;
      }
docs: Randomly select a distinct peer. Method is <code>protected</code> rather
  than <code>private</code>, so that it may be overridden if peer selection
  logic is to be changed e.g., to add datacenter/rack awareness.
  
  @return Peer for Gossip.