code: private static void locateForMemcacheBucket(final BinaryRequest request, final List<Node> nodes,
          final MemcachedBucketConfig config, CoreEnvironment env, RingBuffer<ResponseEvent> responseBuffer) {
  
          if (!keyIsValid(request)) {
              return;
          }
  
          NetworkAddress hostname = config.nodeForId(request.keyBytes());
          request.partition((short) 0);
  
          for (Node node : nodes) {
              if (node.hostname().equals(hostname)) {
                  node.send(request);
                  return;
              }
          }
  
          if(handleNotEqualNodeSizes(config.nodes().size(), nodes.size())) {
              RetryHelper.retryOrCancel(env, request, responseBuffer);
              return;
          }
  
          throw new IllegalStateException("Node not found for request" + request);
      }
docs: Locates the proper {@link Node}s for a Memcache bucket.
  
  @param request the request.
  @param nodes the managed nodes.
  @param config the bucket configuration.