code: protected Partitions determinePartitions(Partitions current, Map<RedisURI, Partitions> topologyViews) {
  
          if (current == null) {
              return PartitionsConsensus.HEALTHY_MAJORITY.getPartitions(null, topologyViews);
          }
  
          return PartitionsConsensus.KNOWN_MAJORITY.getPartitions(current, topologyViews);
      }
docs: Determines a {@link Partitions topology view} based on the current and the obtain topology views.
  
  @param current the current topology view. May be {@literal null} if {@link RedisClusterClient} has no topology view yet.
  @param topologyViews the obtain topology views
  @return the {@link Partitions topology view} to use.