public void addPartition(String partitionIdStr) {
    // Add partition with retry logic in case Ambry clustermap is not update to date(IllegalStateException).
    retryExecutor.runWithRetries(retryPolicy, callback -> doAddPartition(partitionIdStr, callback),
        e -> e instanceof IllegalStateException, (result, exception) -> {
          if (exception != null) {
            // use this condition to capture all potential exceptions.
            logger.warn("AddPartition for {} failed after retry: ", partitionIdStr, exception);
          } else {
            // pass; too many logs
          }
        });
  }
Add {@link PartitionId} to assignedPartitionIds set, if {@param partitionIdStr} valid.
Used in one of the vcr state model classes {@link OnlineOfflineHelixVcrStateModel} or
{@link LeaderStandbyHelixVcrStateModel} if current VCR is assigned a partition.
@param partitionIdStr The partitionIdStr notified by Helix.
ambry-cloud/src/main/java/com/github/ambry/cloud/HelixVcrClusterParticipant.java