mirror of https://gitee.com/bigwinds/arangodb
version update after return statement
This commit is contained in:
parent
266ee69535
commit
9e170e8021
|
@ -206,8 +206,8 @@ bool config_t::activePushBack(std::string const& id) {
|
|||
WRITE_LOCKER(writeLocker, _lock);
|
||||
if (_active.size() < _agencySize) {
|
||||
_active.push_back(id);
|
||||
return true;
|
||||
++_version;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue