address review comments

This commit is contained in:
Markus Pilman 2021-04-22 17:52:27 -06:00
parent a6a8a97e1f
commit adb0ce9776
2 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ class ScopedLineage {
public:
ScopedLineage(V T::*member, V const& value) : member(member) {
auto val = currentLineage->modify(member);
auto& val = currentLineage->modify(member);
before = val;
val = value;
}

View File

@ -522,7 +522,7 @@ public:
// process of committing makeShardDurable)
// == v -> k is readable (from storage+versionedData) @ [storageVersion,v], and not being updated
// when version increases
// == latestVersion -> k is readable (from stora ge+versionedData) @ [storageVersion,version.get()], and thus
// == latestVersion -> k is readable (from storage+versionedData) @ [storageVersion,version.get()], and thus
// stays available when version increases
CoalescedKeyRangeMap<Version> newestAvailableVersion;
@ -875,7 +875,7 @@ public:
}
return fun(this, request);
}
};
};
const StringRef StorageServer::CurrentRunningFetchKeys::emptyString = LiteralStringRef("");
const KeyRangeRef StorageServer::CurrentRunningFetchKeys::emptyKeyRange =