Added comment to seedShardServers (taken from existing desc in .h file)

This commit is contained in:
Jon Fu 2021-03-24 15:34:19 -04:00
parent 650e0de625
commit b246e673bc
1 changed files with 2 additions and 0 deletions

View File

@ -1212,6 +1212,8 @@ ACTOR Future<Void> moveKeys(Database cx,
return Void();
}
// Called by the master server to write the very first transaction to the database
// establishing a set of shard servers and all invariants of the systemKeys.
void seedShardServers(Arena& arena, CommitTransactionRef& tr, vector<StorageServerInterface> servers) {
std::map<Optional<Value>, Tag> dcId_locality;
std::map<UID, Tag> server_tag;