code: private void resetFastConnectionCache() {
  
          synchronized (stateLock) {
              Arrays.fill(writers, null);
              Arrays.fill(readers, null);
          }
      }
docs: Reset the internal connection cache. This is necessary because the {@link Partitions} have no reference to the connection
  cache.
  
  Synchronize on {@code stateLock} to initiate a happens-before relation and clear the thread caches of other threads.