1
0
Fork 0

emit diagnostic message in case no free slot can be found in WAL

This commit is contained in:
jsteemann 2016-10-07 16:18:20 +02:00
parent 2dc8deadc5
commit 8aa34ec92b
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}