private void initializeTracking() {
    totalLocalReplicaCount = localReplicas.size();
    failedLocalReplicas = 0;
    disabledLocalReplicas = 0;

    replicaPoolByDc.forEach((dcName, v) -> {
      if(!dcName.equals(datacenterName)) {
        remoteDatacenters.add(dcName);
      }
    });
  }
Initialize various tracking variables that are used to determine the success or failure of this PUT operation.
ambry-router/src/main/java/com/github/ambry/router/ParanoidDurabilityOperationTracker.java