Commit Graph

  • ee22ffb878 mdbx-tools: using walked pages count while output statistics if traversal enabled. Leonid Yuriev 2021-01-24 20:50:00 +03:00
  • a9cb6a6a90 mdbx: minor fix ASAN controls. Leonid Yuriev 2021-01-24 15:08:00 +03:00
  • 0679ea07c6 mdbx-make: rework verification amalgamated sources during make build. Leonid Yuriev 2021-01-24 03:51:30 +03:00
  • 67b99eadbd mdbx-make: workaround for BSD's sed limitations. Leonid Yuriev 2021-01-24 03:17:52 +03:00
  • 95ae324580 mdbx: fix reclaimed-list allocation during nested txn start. Leonid Yuriev 2021-01-23 23:46:55 +03:00
  • 4e13d1239a mdbx: 'runtime options' feature release. Leonid Yuriev 2021-01-23 01:13:20 +03:00
  • 4ae2a107bf mdbx: add MDBX_opt_loose_limit runtime option. Leonid Yuriev 2021-01-22 23:52:03 +03:00
  • dc34041600 mdbx: alter defaults for MDBX_opt_rp_augment_limit and MDBX_opt_txn_dp_limit runtime options. Leonid Yuriev 2021-01-22 23:15:08 +03:00
  • b1a2892038 mdbx: fix minor Coverity warnings. Leonid Yuriev 2021-01-22 20:13:31 +03:00
  • b82d1d5063 mdbx: add MDBX_opt_spill_parent4child_denominator runtime option. Leonid Yuriev 2021-01-22 18:18:52 +03:00
  • 56aaad03bc mdbx: add MDBX_opt_spill_max_denominator and MDBX_opt_spill_min_denominator runtime options. Leonid Yuriev 2021-01-22 17:25:44 +03:00
  • 0166071ec9 mdbx-make: check building amalgamated sources during make dist. Leonid Yuriev 2021-01-22 14:17:53 +03:00
  • e0d4eaf819 mdbx: minor refine mdbx_txn_merge(). Leonid Yuriev 2021-01-21 22:45:34 +03:00
  • 0861a0652b mdbx: update ChangeLog. Leonid Yuriev 2021-01-21 22:09:52 +03:00
  • 1d58ad6d9b mdbx: fix Valgrind/ASAN controls. Leonid Yuriev 2021-01-21 21:56:22 +03:00
  • e1a022be27 mdbx-tests: more wilcards for Valgrind's suppressions. Leonid Yuriev 2021-01-21 20:29:11 +03:00
  • 58e4eda1c6 mdbx: fix spilled page list memleak. Leonid Yuriev 2021-01-21 20:28:03 +03:00
  • d26ae6875b mdbx: fix assertion to avoid false-positive UB detection by CLANG/LLVM. Leonid Yuriev 2021-01-21 00:15:10 +03:00
  • afe93137fc mdbx: fix minor assertions. Leonid Yuriev 2021-01-20 23:42:52 +03:00
  • bed14e60c2 mdbx-cmake: add -fsanitize-undefined-trap-on-error to compile flags and ENABLE_UBSAN to config.h. Leonid Yuriev 2021-01-20 23:36:13 +03:00
  • c816797879 mdbx-cmake: minor/cosmetics unify quoting for add_compile_flags(). Leonid Yuriev 2021-01-20 23:34:30 +03:00
  • 730b9ea3fd mdbx: add MDBX_PNL_ASCENDING build option and dependency for MDBX_DATA_MAGIC. Leonid Yuriev 2021-01-20 13:05:32 +03:00
  • 6bd0277020 mdbx: minor fix mdbx_cursor_close(). Leonid Yuriev 2021-01-20 09:53:44 +03:00
  • 7d09de489d mdbx: fix minor MSVC warnings. Leonid Yuriev 2021-01-20 09:41:58 +03:00
  • 0d09c2cda9 mdbx: avoid overflow for dirty & leftover space inside mdbx_txn_info(). Leonid Yuriev 2021-01-20 02:06:06 +03:00
  • 42670aa64a mdbx: fix MSVC warnings aroung size_t and unsigned conversion. Leonid Yuriev 2021-01-20 01:39:21 +03:00
  • 6d7daf6401 mdbx: fix audit for complex nested txn cases. Leonid Yuriev 2021-01-19 20:04:13 +03:00
  • f28da7c9e3 mdbx: rework spilling, page-lists, commit & abort for nested transactions, etc (squashed). Leonid Yuriev 2021-01-19 02:50:20 +03:00
  • 7bae2a7cd2 mdbx: provide MDBX_ENABLE_REFUND build option. Leonid Yuriev 2021-01-18 17:34:54 +03:00
  • 7183f62e13 mdbx: rework DBI_DIRTY and MDBX_TXN_DIRTY propagation. Leonid Yuriev 2021-01-16 21:14:55 +03:00
  • 4afc30c79f mdbx: rework mdbx_page_alloc(). Leonid Yuriev 2021-01-15 17:35:14 +03:00
  • 764dab90fc mdbx-tests: set MALLOC_CHECK environment varilables. Leonid Yuriev 2021-01-15 14:50:42 +03:00
  • c6a8f0f9af mdbx-tools: minor refine mdbx_chk error output. Leonid Yuriev 2021-01-13 11:27:02 +03:00
  • 966d7027a3 mdbx: minor fix bad_page() debug output. Leonid Yuriev 2021-01-10 14:39:56 +03:00
  • dfc92d9f96 mdbx: minor fix mdbx_page_new() debug output. Leonid Yuriev 2021-01-10 13:50:11 +03:00
  • ac0f4e14a8 mdbx: minor fix mdbx_page_new() debug output. Leonid Yuriev 2021-01-10 13:46:57 +03:00
  • ca597f4314 mdbx: fix mdbx_page_flush() for possibility of memleack. Leonid Yuriev 2021-01-09 17:34:50 +03:00
  • c1fef9b51d mdbx: fix mdbx_update_gc() for retired page list change case. Leonid Yuriev 2021-01-08 03:54:50 +03:00
  • b8bb4b4cc4 mdbx: fix propagation child txn DBI-state to parent. Leonid Yuriev 2021-01-06 16:09:11 +03:00
  • 4425fb0b83 mdbx: minor refine flags-reset inside mdbx_page_flush(). Leonid Yuriev 2021-01-05 12:24:28 +03:00
  • 5bb254e629 mdbx: allow fastpath-commit for pure nested txns with parent-spilled pages. Leonid Yuriev 2021-01-04 19:53:17 +03:00
  • 8fce97dca9 mdbx: fix mdbx_cursors_eot(). Leonid Yuriev 2021-01-04 18:06:00 +03:00
  • f6ff075335 mdbx: rework/speedup spill-pages list. Leonid Yuriev 2020-12-29 00:48:35 +03:00
  • d64b81c673 mdbx: remove senseless assertions from mdbx_refund_loose(). Leonid Yuriev 2020-12-27 23:40:32 +03:00
  • 0ab263b329 mdbx: purge deleted spilled pagenums on refund. Leonid Yuriev 2020-12-27 20:42:11 +03:00
  • 7bf147d8c2 mdbx: fix assertion inside mdbx_txn_commit_ex() for nested spilled txn. Leonid Yuriev 2020-12-25 14:32:35 +03:00
  • 6ef7b2f588 mdbx: fix assertion inside mdbx_txn_begin_ex() for nested txn with spilled parent. Leonid Yuriev 2020-12-25 14:25:29 +03:00
  • 51ec5c442b mdbx-make: fix missing .gz suffix when check target called from stochastic script. Leonid Yuriev 2020-12-24 12:05:29 +03:00
  • f0d79df9b9 mdbx: fix mdbx_page_flush(). Leonid Yuriev 2020-12-21 22:34:16 +03:00
  • 05958a708e mdbx: fix minor/potential mem-page leak inside mdbx_page_unspill(). Leonid Yuriev 2020-12-20 16:08:57 +03:00
  • 21fbc36311 mdbx: minor refine mdbx_page_retire(). Leonid Yuriev 2020-12-20 01:05:45 +03:00
  • cea29fe485 mdbx: fix assertion inside mdbx_page_retire(). Leonid Yuriev 2020-12-19 20:16:45 +03:00
  • fe386a66df mdbx: minor refine mdbx_page_unspill(). Leonid Yuriev 2020-12-18 14:59:11 +03:00
  • 92527a5206 mdbx: rename mdbx_page_spill to mdbx_cursor_spill(). Leonid Yuriev 2020-12-14 17:02:58 +03:00
  • 266bb70b7d mdbx: add debug to mdbx_kill_page(). Leonid Yuriev 2020-12-13 13:06:18 +03:00
  • 56758372cf mdbx: drop unused mdbx_audit(). Leonid Yuriev 2020-12-12 18:34:26 +03:00
  • 1314b29557 mdbx: add const for bsearch functions. Leonid Yuriev 2020-12-11 21:17:44 +03:00
  • ef7814c018 mdbx: clean zero item of DPL-list. Leonid Yuriev 2020-12-10 14:31:21 +03:00
  • d50fff8410 mdbx: minor refine mdbx_page_check(). Leonid Yuriev 2020-12-09 03:50:46 +03:00
  • 44089b03df mdbx: minor refine mdbx_page_get(). Leonid Yuriev 2020-12-09 03:49:23 +03:00
  • a906569c58 mdbx: merge branch 'master' into devel-rebase. Leonid Yuriev 2021-01-19 23:51:52 +03:00
  • b98895b8c7 mdbx: fix unaligned access to bootid on the meta-pages. Leonid Yuriev 2021-01-18 14:27:58 +03:00
  • e766df658c mdbx-backport: avoid 4-byte aligned (i.e. unaligned) access to 64-bit integers. Leonid Yuriev 2020-12-01 20:23:23 +03:00
  • adc7208169 mdbx-make: Added DLLs and dSYMs to clean & gitignore. Jens Alfke 2021-01-06 14:19:58 -08:00
  • 3a441d6d3a Update mdbx.h byronhe 2021-01-04 22:24:54 +08:00
  • 082df3a573 mdbx: refine MDBX_opt_* descriptions and defaults. Leonid Yuriev 2020-12-08 00:01:29 +03:00
  • 697fce7ebc mdbx: rename MDBX_END_PURE_COMMIT (cosmetics). Leonid Yuriev 2020-12-07 14:11:32 +03:00
  • 70e76bcb4d mdbx: merge branch 'master' into devel. Leonid Yuriev 2020-12-17 21:52:35 +03:00
  • 1ebc1e7c49 mdbx: update ChangeLog. Leonid Yuriev 2020-12-17 17:42:35 +03:00
  • 760f1654c2 mdbx-test: minor extension for jitter test case. Leonid Yuriev 2020-12-17 15:42:23 +03:00
  • d77af0bc1f mdbx: more checks against the use renewed (re-created or re-opened) DBI-handles. Leonid Yuriev 2020-12-17 10:36:05 +03:00
  • 735da5fedd mdbx: auto-shrink env's DBI table. Leonid Yuriev 2020-12-16 18:04:08 +03:00
  • cda64ca663 mdbx: rework open/import/export of DBI-handles for robustness Leonid Yuriev 2020-12-17 01:21:48 +03:00
  • 166ed1c7d4 mdbx: refine prev commit (avoids SIGSEGV but assertion failure). Leonid Yuriev 2020-12-15 15:43:19 +03:00
  • 3758e7697e mdbx: more checks inside mdbx_cursor_close(). Leonid Yuriev 2020-12-15 15:06:17 +03:00
  • 315ef41455 mdbx: use MDBX_PGL_LIMIT for DPL as a soft-limit and options.dp_limit as spilling-pressure to avoid false-positive MDBX_TXN_FULL. Leonid Yuriev 2020-12-06 14:42:13 +03:00
  • c1210d7c73 mdbx: refine mdbx_page_alloc() to avoid MDBX_TXN_FULL. Leonid Yuriev 2020-12-06 11:29:41 +03:00
  • a4df0acb00 mdbx: more logging for FD < STDERR_FILENO. Leonid Yuriev 2020-12-06 14:35:35 +03:00
  • c4944a58d5 mdbx: avoid spelling errors (cosmetics). Leonid Yuriev 2020-12-05 22:49:37 +03:00
  • d116e7235a mdbx-posix: safeguard for DB corruption in case FD <= STDERR_FILENO. Leonid Yuriev 2020-12-05 22:03:18 +03:00
  • 3e7459b428 mdbx-windows: fix mdbx_realloc() for nullptr and MDBX_AVOID_CRT=ON. Leonid Yuriev 2020-12-05 09:45:03 +03:00
  • 338de2e1fb mdbx: refine mdbx_page_spill(). Leonid Yuriev 2020-12-04 14:06:02 +03:00
  • 12ee5e6cac mdbx: minor refine mdbx_page_flush(). Leonid Yuriev 2020-12-04 14:04:02 +03:00
  • 262e4981db mdbx: refactor mdbx_pages_xkeep(). Leonid Yuriev 2020-12-04 14:02:34 +03:00
  • df8260e29a mdbx: add mdbx_pnl_purge_odd(). Leonid Yuriev 2020-12-04 13:45:46 +03:00
  • 87c765c7be mdbx: fix/check lower border for dirty-pages list's limits/options. Leonid Yuriev 2020-12-04 13:39:09 +03:00
  • 0b02e080c4 mdbx: use pnl_xmerge() to merge spill-pages lists. Leonid Yuriev 2020-12-04 13:36:41 +03:00
  • d9bd306da3 mdbx-load: add -p option (purge subDB). Leonid Yuriev 2020-12-03 21:52:22 +03:00
  • 90309ec0bf mdbx: merge branch 'master' into devel. Leonid Yuriev 2020-12-03 18:42:10 +03:00
  • eb31b765a5 mdbx-tools: use MDBX_SAFE_NOSYNC | MDBX_ACCEDE inside mdbx_load. Leonid Yuriev 2020-12-03 17:58:21 +03:00
  • 76716c23b0 mdbx: add MDBX_opt_txn_dp_initial & MDBX_opt_txn_dp_limit. Leonid Yuriev 2020-12-02 21:33:30 +03:00
  • 84235c7903 mdbx: drop unnecessary MDBX_HUGE_TRANSACTIONS option. Leonid Yuriev 2020-12-02 17:45:35 +03:00
  • c5061f9289 mdbx: dynamic dirty-page-list size. Leonid Yuriev 2020-12-02 15:18:54 +03:00
  • 6a5cec1f87 mdbx: refine mdbx_dpl_search(). Leonid Yuriev 2020-12-02 14:17:36 +03:00
  • d8d89cca7d mdbx: refactor dirty-page-list (preparation to rework). Leonid Yuriev 2020-12-02 14:17:57 +03:00
  • 7210f994fb mdbx-windows: fix mdbx_realloc() for nullptr and MDBX_AVOID_CRT=ON. Leonid Yuriev 2020-12-03 10:25:24 +03:00
  • e6eeb17030 mdbx: update ChangeLog. Leonid Yuriev 2020-12-03 09:36:45 +03:00
  • a987301204 mdbx++: refine abort/commit. Leonid Yuriev 2020-12-03 09:32:25 +03:00
  • 5c693ccd96 mdbx++: fix missing null assignment. sasgas 2020-12-03 11:22:34 +09:00
  • 5636dbf12b mdbx: add mdbx_dpl_alloc() & mdbx_dpl_free(). Leonid Yuriev 2020-12-01 21:34:55 +03:00