Allow the "quorum" command line option to lock the quorum

This commit is contained in:
JoelKatz
2015-09-21 12:03:58 -07:00
committed by Vinnie Falco
parent 938b2fed7c
commit 3c52fdfabe
5 changed files with 12 additions and 5 deletions

View File

@@ -459,6 +459,7 @@ int run (int argc, char** argv)
try
{
config->VALIDATION_QUORUM = vm["quorum"].as <int> ();
config->LOCK_QUORUM = true;
if (config->VALIDATION_QUORUM < 0)
throw std::domain_error ("");