void onMessageWriteForPartition(PartitionId partitionId, List<MessageInfo> messageInfoList) {
      partitionToPartitionInfo.computeIfPresent(partitionId, (k, v) -> {
        v.updateReplicaInfosOnMessageWrite(messageInfoList);
        return v;
      });
    }
Go through remote replicas for this partition and compare messages written to local store with the missing messages
found during previous meta data exchange. If there are matching messages (based on store key), remove them from the missing message set.
This is used during leader-based replication to update token for standby replicas. Standby replicas store the
missing messages in metadata exchange, track them through intra-dc replication and update token when all the
missing messages are written to store.
@param partitionId partition ID of the messages written to store
@param messageInfoList list of messages written to store
ambry-replication/src/main/java/com/github/ambry/replication/ReplicationEngine.java