mirror of https://gitee.com/bigwinds/arangodb
include collection in inventory if id is equal to current server tick
This commit is contained in:
parent
894c443f75
commit
0b1dcc0deb
|
@ -1685,7 +1685,7 @@ TRI_json_t* TRI_InventoryCollectionsVocBase (TRI_vocbase_t* vocbase,
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (collection->_cid >= maxTick) {
|
if (collection->_cid > maxTick) {
|
||||||
// collection is too new
|
// collection is too new
|
||||||
TRI_READ_UNLOCK_STATUS_VOCBASE_COL(collection);
|
TRI_READ_UNLOCK_STATUS_VOCBASE_COL(collection);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue