mirror of https://gitee.com/bigwinds/arangodb
hide warning if not appropriate
This commit is contained in:
parent
b5fb457d7b
commit
755d728e5a
|
@ -576,7 +576,9 @@ static bool CheckCollection (TRI_collection_t* collection) {
|
|||
// file is a journal
|
||||
if (TRI_EqualString2("journal", first, firstLen)) {
|
||||
if (datafile->_isSealed) {
|
||||
LOG_WARNING("strange, journal '%s' is already sealed; must be a left over; will use it as datafile", filename);
|
||||
if (datafile->_state != TRI_DF_STATE_READ) {
|
||||
LOG_WARNING("strange, journal '%s' is already sealed; must be a left over; will use it as datafile", filename);
|
||||
}
|
||||
|
||||
TRI_PushBackVectorPointer(&sealed, datafile);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue