Address review comments
This commit is contained in:
parent
90c1b2df88
commit
7b5de42d43
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -61,8 +61,8 @@ public:
|
|||
NOT_ENOUGH_WORKERS,
|
||||
REGION_REPLICATION_MISMATCH,
|
||||
DCID_MISSING,
|
||||
SUCCESS,
|
||||
LOCKED_NOT_NEW,
|
||||
SUCCESS,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue