public void decreaseReplicaThreadAssignedRemoteReplicaInfo(String replicaThread) {
    replicaThreadsAssignedRemoteReplicaInfo.computeIfAbsent(replicaThread, thread -> registry.counter(MetricRegistry.name(ReplicaThread.class,
        replicaThread + "-AssignedRemoteReplicaInfo"))).dec();
  }
Decrease the number of assigned remote replica
ambry-replication/src/main/java/com/github/ambry/replication/ReplicationMetrics.java