mirror of https://gitee.com/bigwinds/arangodb
ensure there is a datafile info entry for each datafile of a collection
This commit is contained in:
parent
5c8cfecc9e
commit
b5fb457d7b
|
@ -1792,6 +1792,11 @@ static bool OpenIterator (TRI_df_marker_t const* marker,
|
||||||
res = OpenIteratorHandleAbortMarker(marker, datafile, (open_iterator_state_t*) data);
|
res = OpenIteratorHandleAbortMarker(marker, datafile, (open_iterator_state_t*) data);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (marker->_type == TRI_DF_MARKER_HEADER) {
|
||||||
|
// ensure there is a datafile info entry for each datafile of the collection
|
||||||
|
TRI_FindDatafileInfoDocumentCollection(document, datafile->_fid, true);
|
||||||
|
}
|
||||||
|
|
||||||
LOG_TRACE("skipping marker type %lu", (unsigned long) marker->_type);
|
LOG_TRACE("skipping marker type %lu", (unsigned long) marker->_type);
|
||||||
res = TRI_ERROR_NO_ERROR;
|
res = TRI_ERROR_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue