FastRestore:Revise trace events

This commit is contained in:
Meng Xu 2020-04-25 21:32:45 -07:00
parent 9f18146f4a
commit db8c402c0e
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ struct RestoreWorkerData : NonCopyable, public ReferenceCounted<RestoreWorkerDa
RestoreWorkerData() = default;
~RestoreWorkerData() {
TraceEvent("RestoreWorkerDataDeleted").detail("WorkerID", workerID.toString());
printf("[Exit] Worker:%s RestoreWorkerData is deleted\n", workerID.toString().c_str());
}

View File

@ -86,7 +86,7 @@ struct AtomicRestoreWorkload : TestWorkload {
TraceEvent("AtomicRestore_RestoreStart");
if (self->fastRestore) { // New fast parallel restore
TraceEvent(SevWarnAlways, "AtomicParallelRestore");
TraceEvent(SevInfo, "AtomicParallelRestore");
wait(backupAgent.atomicParallelRestore(cx, BackupAgentBase::getDefaultTag(), self->backupRanges,
StringRef(), StringRef()));
} else { // Old style restore