#[repr(i32)]pub enum HandleSlowReadersReturnCode {
Error = -2,
ProceedWithoutKillingReader = -1,
Success = 0,
ClearReaderSlot = 1,
ReaderProcessTerminated = 2,
}Variants§
Error = -2
An error condition and the reader was not killed.
ProceedWithoutKillingReader = -1
The callback was unable to solve the problem and agreed on MDBX_MAP_FULL error;
MDBX should increase the database size or return MDBX_MAP_FULL error.
Success = 0
The callback solved the problem or just waited for a while, libmdbx should rescan the
reader lock table and retry. This also includes a situation when corresponding transaction
terminated in normal way by mdbx_txn_abort() or mdbx_txn_reset(), and may be restarted.
I.e. reader slot isn’t needed to be cleaned from transaction.
ClearReaderSlot = 1
Transaction aborted asynchronous and reader slot should be cleared immediately, i.e. read
transaction will not continue but mdbx_txn_abort() nor mdbx_txn_reset() will be called
later.
ReaderProcessTerminated = 2
The reader process was terminated or killed, and MDBX should entirely reset reader registration.