mirror of https://gitee.com/bigwinds/arangodb
Add a sensible default.
This commit is contained in:
parent
81273b2741
commit
0a1ec0da5a
|
@ -138,7 +138,7 @@ static TRI_voc_cid_t ReadCid(VPackSlice info) {
|
|||
|
||||
if (cid == 0) {
|
||||
if (ServerState::instance()->isDBServer()) {
|
||||
cid = ClusterInfo::instance()->uniqid();
|
||||
cid = ClusterInfo::instance()->uniqid(1);
|
||||
} else if (ServerState::instance()->isCoordinator()) {
|
||||
cid = ClusterInfo::instance()->uniqid(1);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue