docs: public void finalizeReplicaSync(int partitionId, int replicaIndex, ServiceNamespace namespace, long[] versions) {
          PartitionReplicaVersions replicaVersion = replicaVersions[partitionId];
          replicaVersion.clear(namespace);
          replicaVersion.set(namespace, versions, replicaIndex);
          clearReplicaSyncRequest(partitionId, namespace, replicaIndex);
      }