FastRestore:Fix duplicate type in traceRoleVersionBatchProgress

This commit is contained in:
Meng Xu 2020-02-28 00:08:01 -08:00
parent eaf340652f
commit 89b121ae25
1 changed files with 2 additions and 3 deletions

View File

@ -144,12 +144,11 @@ ACTOR Future<Void> traceRoleVersionBatchProgress(Reference<RestoreRoleData> self
int batchIndex = self->finishedBatch.get();
int maxBatchIndex = self->versionBatchId.get();
TraceEvent ev("FastRestoreVersionBatchProgress", self->nodeID);
TraceEvent ev("FastRestoreVersionBatchProgressState", self->nodeID);
ev.detail("Role", role);
ev.detail("Node", self->nodeID);
while (batchIndex <= maxBatchIndex) {
ev.detail("BatchIndex", batchIndex);
ev.detail("VersionBatchState", self->getVersionBatchState(batchIndex));
ev.detail("VersionBatch" + batchIndex, self->getVersionBatchState(batchIndex));
batchIndex++;
}