private void logTokenReset(PartitionId partitionId, String hostname, int port, FindToken token) {
    replicationMetrics.replicationTokenResetCount.inc();
    logger.info("Resetting token for partition {} remote host {} port {}, persisted token {}", partitionId, hostname,
        port, token);
  }
Update metrics and print a log message when a replica token is reset.
@param partitionId The replica's partition.
@param hostname The replica's hostname.
@param port The replica's port.
@param token The {@link FindToken} for the replica.
ambry-replication/src/main/java/com/github/ambry/replication/ReplicationEngine.java