private Set<PartitionId> getAllBootstrappingPartitionsForNode() {
    return storageManager.getLocalPartitions().
        stream().filter(partitionId -> !hasCompletedReplication(partitionId)).collect(Collectors.toSet());
  }
Gets all partitions for the current node.
@return A list of all partitions this node is responsible for.
ambry-prioritization/src/main/java/com/github/ambry/replica/prioritization/ReplicationPrioritizationManager.java