Add comment to clarify empty UID usage.

This commit is contained in:
Suraj Gupta 2021-11-16 09:46:51 -05:00 committed by Josh Slocum
parent 1817b135ac
commit dba0a2d729
1 changed files with 1 additions and 0 deletions

View File

@ -1080,6 +1080,7 @@ ACTOR Future<Void> recoverBlobManager(BlobManagerData* bmData) {
std::tie(splitState, version) = decodeBlobGranuleSplitValue(split.value);
const KeyRange range = blobGranuleSplitKeyRangeFor(parentGranuleID);
if (splitState <= BlobGranuleSplitState::Initialized) {
// the empty UID signifies that we need to find an owner (worker) for this range
workerAssignments.insert(range, UID());
}
}