Address review comments

This commit is contained in:
Andrew Noyes 2020-02-11 10:40:09 -08:00
parent 90c1b2df88
commit 7b5de42d43
2 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,8 @@ std::map<std::string, std::string> configForToken( std::string const& mode ) {
}
if (mode == "locked") {
// Setting this key is interpreted as an instruction to use the normal version-stamp-based mechanism for locking
// the database.
out[databaseLockedKey.toString()] = deterministicRandom()->randomUniqueID().toString();
return out;
}

View File

@ -61,8 +61,8 @@ public:
NOT_ENOUGH_WORKERS,
REGION_REPLICATION_MISMATCH,
DCID_MISSING,
SUCCESS,
LOCKED_NOT_NEW,
SUCCESS,
};
};