fixed reordering

This commit is contained in:
Josh Slocum 2022-02-09 08:05:20 -06:00
parent 9277296102
commit 4d77932def
1 changed files with 2 additions and 1 deletions

View File

@ -826,10 +826,11 @@ ACTOR Future<BlobFileIndex> checkSplitAndReSnapshot(Reference<BlobWorkerData> bw
int64_t versionsSinceLastSnapshot) {
BlobFileIndex lastDeltaIdx = wait(lastDeltaBeforeSnapshot);
state Version reSnapshotVersion = lastDeltaIdx.version;
while (!bwData->statusStreamInitialized) {
wait(bwData->currentManagerStatusStream.onChange());
}
state Version reSnapshotVersion = lastDeltaIdx.version;
wait(delay(0, TaskPriority::BlobWorkerUpdateFDB));
if (BW_DEBUG) {