From f2b9babfd3258137cbadff0653cba5414d82987f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 26 Jan 2021 01:37:32 +0300 Subject: [PATCH] mdbx: update ChangeLog. Change-Id: I429b8ca8400910ad5a25c7159d5060f0d0f1843f --- .github/actions/spelling/expect.txt | 1 + ChangeLog.md | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index ac8638c7..fa99ca81 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -181,6 +181,7 @@ cntvct CODEFILE COLORSTYLE colorwheel +compactified compat CONCAT condattr diff --git a/ChangeLog.md b/ChangeLog.md index 1d79b890..b86d72df 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -24,7 +24,7 @@ Removed options and features: New features: - Package for FreeBSD is available now by Mahlon E. Smith. - - New API functions to get/set various options (https://github.com/erthink/libmdbx/issues/128). + - New API functions to get/set various options (https://github.com/erthink/libmdbx/issues/128): - the maximum number of named databases for the environment; - the maximum number of threads/reader slots; - threshold (since the last unsteady commit) to force flush the data buffers to disk; @@ -39,7 +39,11 @@ New features: - how much of the parent transaction dirty pages will be spilled while start each child transaction; - Unlimited/Dynamic size of retired and dirty page lists (https://github.com/erthink/libmdbx/issues/123). - Added `-p` option (purge subDB before loading) to `mdbx_load` tool. - - Reworked spilling of large transaction and committing of nested transactions. + - Reworked spilling of large transaction and committing of nested transactions: + - page spilling code reworked to avoid the flaws and bugs inherited from LMDB; + - limit for number of dirty pages now is controllable at runtime; + - a spilled pages, including overflow/large pages, now can be reused and refunded/compactified in nested transactions; + - more effective refunding/compactification especially for the loosed page cache. - Added `MDBX_ENABLE_REFUND` and `MDBX_PNL_ASCENDING` internal/advanced build options. Fixes: @@ -52,6 +56,7 @@ Fixes: - Fixed handling states of cursors's and subDBs's for nested transactions. - Fixed page leak in extra rare case the list of retired pages changed during update GC on transaction commit. - Fixed assertions to avoid false-positive UB detection by CLANG/LLVM (https://github.com/erthink/libmdbx/issues/153). + - Fixed `MDBX_TXN_FULL` and regressive `MDBX_KEYEXIST` during large transaction commit with `MDBX_LIFORECLAIM` (https://github.com/erthink/libmdbx/issues/123). ## v0.9.2 at 2020-11-27