mirror of https://gitee.com/bigwinds/arangodb
emit diagnostic message in case no free slot can be found in WAL
This commit is contained in:
parent
2dc8deadc5
commit
8aa34ec92b
|
@ -243,6 +243,7 @@ SlotInfo Slots::nextUnused(TRI_voc_tick_t databaseId, TRI_voc_cid_t collectionId
|
|||
char* mem = _logfile->reserve(alignedSize);
|
||||
|
||||
if (mem == nullptr) {
|
||||
LOG(WARN) << "could not find free WAL slot";
|
||||
return SlotInfo(TRI_ERROR_INTERNAL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue