mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-21 14:02:59 +08:00
format
This commit is contained in:
parent
f9e57396e2
commit
960a13f233
@ -1814,9 +1814,7 @@ ACTOR Future<Void> dataDistributionQueue(Database cx,
|
|||||||
debug_setCheckRelocationDuration(false);
|
debug_setCheckRelocationDuration(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
when(KeyRange done = waitNext(rangesComplete.getFuture())) {
|
when(KeyRange done = waitNext(rangesComplete.getFuture())) { keysToLaunchFrom = done; }
|
||||||
keysToLaunchFrom = done;
|
|
||||||
}
|
|
||||||
when(wait(recordMetrics)) {
|
when(wait(recordMetrics)) {
|
||||||
Promise<int64_t> req;
|
Promise<int64_t> req;
|
||||||
getAverageShardBytes.send(req);
|
getAverageShardBytes.send(req);
|
||||||
@ -1859,9 +1857,7 @@ ACTOR Future<Void> dataDistributionQueue(Database cx,
|
|||||||
}
|
}
|
||||||
when(wait(self.error.getFuture())) {} // Propagate errors from dataDistributionRelocator
|
when(wait(self.error.getFuture())) {} // Propagate errors from dataDistributionRelocator
|
||||||
when(wait(waitForAll(balancingFutures))) {}
|
when(wait(waitForAll(balancingFutures))) {}
|
||||||
when(Promise<int> r = waitNext(getUnhealthyRelocationCount)) {
|
when(Promise<int> r = waitNext(getUnhealthyRelocationCount)) { r.send(self.unhealthyRelocations); }
|
||||||
r.send(self.unhealthyRelocations);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Error& e) {
|
} catch (Error& e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user