private void updateCompactionProgress(short containerId, short accountId, String partitionPath)
      throws CloudStorageException {
    // TODO: update the cache and cosmos container deletion entry table to remove the partitionId from deletePendingPartitions list

    requestAgent.doWithRetries(() -> cosmosDataAccessor.updateContainerDeletionEntry(containerId, accountId,
        (cosmosContainerDeletionEntry, fieldsChanged) -> {
          fieldsChanged.set(cosmosContainerDeletionEntry.removePartition(partitionPath));
          if (cosmosContainerDeletionEntry.getDeletePendingPartitions().isEmpty()) {
            cosmosContainerDeletionEntry.setDeleted(true);
            fieldsChanged.set(true);
          }
        }), "UpdateContainerDeletionProgress", partitionPath);
    logger.info(
        String.format("Compacted all blobs of deprecated container %d account %d from partition %s", containerId,
            accountId, partitionPath));
  }
Update the container deletion entry of the specified container to remove the partition from which all blobs of the
container have been compacted. If there are no more partitions left to compact then mark the container deletion entry as deleted.
@param containerId container id of the container.
@param accountId account if of the container.
@param partitionPath partition id from which all blobs of the container have been deleted.
@throws CloudStorageException in case of any error.
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/AzureContainerCompactor.java