[Date Prev][Date Next]
(ITS#7337) libmdb can corrupt when reaching maxsize
Full_Name: Howard Chu
Submission from: (NULL) (220.127.116.11)
Submitted by: hyc
Already fixed by commit 234cd9dfb54ef2f7f83963d95b6eb8e9735bb372
If the DB maxsize was reached while pruning consumed records from the free list
inside mdb_txn_commit, the error was ignored. As a result the txn_commit would
return success even though it only partly succeeded.
The code is now fixed to abort the txn and return the error code.