Merge pull request #3755 from apple/release-6.3
Merge Release 6.3 into master
This commit is contained in:
commit
d9bfdd0196
|
@ -444,6 +444,7 @@ ACTOR static Future<Void> loadFilesOnLoaders(Reference<ControllerBatchData> batc
|
|||
: std::min(versionBatch.endVersion, request.targetVersion + 1);
|
||||
param.asset.addPrefix = request.addPrefix;
|
||||
param.asset.removePrefix = request.removePrefix;
|
||||
param.asset.batchIndex = batchIndex;
|
||||
|
||||
TraceEvent("FastRestoreControllerPhaseLoadFiles")
|
||||
.detail("BatchIndex", batchIndex)
|
||||
|
|
|
@ -178,10 +178,15 @@ ACTOR Future<Void> traceRoleVersionBatchProgress(Reference<RestoreRoleData> self
|
|||
loop {
|
||||
int batchIndex = self->finishedBatch.get();
|
||||
int maxBatchIndex = self->versionBatchId.get();
|
||||
int maxPrintBatchIndex = batchIndex + SERVER_KNOBS->FASTRESTORE_VB_PARALLELISM;
|
||||
|
||||
TraceEvent ev("FastRestoreVersionBatchProgressState", self->nodeID);
|
||||
ev.detail("Role", role).detail("Node", self->nodeID).detail("FinishedBatch", batchIndex).detail("InitializedBatch", maxBatchIndex);
|
||||
while (batchIndex <= maxBatchIndex) {
|
||||
if (batchIndex > maxPrintBatchIndex) {
|
||||
ev.detail("SkipVersionBatches", maxBatchIndex - batchIndex + 1);
|
||||
break;
|
||||
}
|
||||
std::stringstream typeName;
|
||||
typeName << "VersionBatch" << batchIndex;
|
||||
ev.detail(typeName.str(), self->getVersionBatchState(batchIndex));
|
||||
|
|
Loading…
Reference in New Issue