FastRestore:Revise trace events
This commit is contained in:
parent
9f18146f4a
commit
db8c402c0e
|
@ -57,6 +57,7 @@ struct RestoreWorkerData : NonCopyable, public ReferenceCounted<RestoreWorkerDa
|
||||||
RestoreWorkerData() = default;
|
RestoreWorkerData() = default;
|
||||||
|
|
||||||
~RestoreWorkerData() {
|
~RestoreWorkerData() {
|
||||||
|
TraceEvent("RestoreWorkerDataDeleted").detail("WorkerID", workerID.toString());
|
||||||
printf("[Exit] Worker:%s RestoreWorkerData is deleted\n", workerID.toString().c_str());
|
printf("[Exit] Worker:%s RestoreWorkerData is deleted\n", workerID.toString().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ struct AtomicRestoreWorkload : TestWorkload {
|
||||||
TraceEvent("AtomicRestore_RestoreStart");
|
TraceEvent("AtomicRestore_RestoreStart");
|
||||||
|
|
||||||
if (self->fastRestore) { // New fast parallel restore
|
if (self->fastRestore) { // New fast parallel restore
|
||||||
TraceEvent(SevWarnAlways, "AtomicParallelRestore");
|
TraceEvent(SevInfo, "AtomicParallelRestore");
|
||||||
wait(backupAgent.atomicParallelRestore(cx, BackupAgentBase::getDefaultTag(), self->backupRanges,
|
wait(backupAgent.atomicParallelRestore(cx, BackupAgentBase::getDefaultTag(), self->backupRanges,
|
||||||
StringRef(), StringRef()));
|
StringRef(), StringRef()));
|
||||||
} else { // Old style restore
|
} else { // Old style restore
|
||||||
|
|
Loading…
Reference in New Issue