Commit Graph

  • 329a2a50e6 mdbx: account loose-pages during spilling and do purge ones if a lack of dirtyroom. Leonid Yuriev 2021-04-28 15:20:15 +03:00
  • 17116b9b46 mdbx: raise MDBX_TXN_FULL if spilled less that half of needed. Leonid Yuriev 2021-04-28 11:49:18 +03:00
  • e57e42d0f8 mdbx: use single pointer to lck-less stub. Leonid Yuriev 2021-04-28 03:44:54 +03:00
  • 7d249c97ad mdbx: double dirtyroom reserve for page stack. Leonid Yuriev 2021-04-27 23:16:28 +03:00
  • 4111d7238c mdbx: spill pages during prepare backlog for update_gc(). Leonid Yuriev 2021-04-27 22:50:36 +03:00
  • 760cf515a7 mdbx: minor refactoring cursor_put(). Leonid Yuriev 2021-04-27 22:04:14 +03:00
  • 7cbd500534 mdbx: minor simplify dirtyroom accounting. Leonid Yuriev 2021-04-27 21:57:57 +03:00
  • 89558657ea mdbx: auto-setup MDBX_opt_txn_dp_limit. Leonid Yuriev 2021-04-27 23:08:52 +03:00
  • 6134220b8a mdbx: drop P_KEEP flag and use LRU-label insted of. Leonid Yuriev 2021-04-27 19:23:20 +03:00
  • 975413b48d mdbx: more for page operation statistics. Leonid Yuriev 2021-04-27 18:19:13 +03:00
  • f95a277ac5 mdbx: statistics of page operations. Leonid Yuriev 2021-04-27 18:02:11 +03:00
  • 3bbf5d03e2 mdbx: lowering the logging level for page unspill. Leonid Yuriev 2021-04-27 11:04:19 +03:00
  • 13a784eeed mdbx: rearrange MDBX_env ro/rw fields. Leonid Yuriev 2021-04-27 01:03:33 +03:00
  • 8b95be91db mdbx: fix minor Coverity warnings. Leonid Yuriev 2021-04-27 00:12:09 +03:00
  • 52dbaf20ae mdbx-ci: use Github Actions for Coverity-Scan. Leonid Yuriev 2021-04-26 23:13:57 +03:00
  • 427b480f68 mdbx: add MDBX_FAKE_SPILL_WRITEMAP build option. Leonid Yuriev 2021-04-26 18:18:51 +03:00
  • 4fa5e95241 mdbx: LRU spilling feature (squashed). Leonid Yuriev 2021-04-26 17:51:11 +03:00
  • 3e272d339a mdbx: drop mdbx_dpl_find() and always promote child LRU-serial to the parent txn. Leonid Yuriev 2021-04-26 14:08:30 +03:00
  • 31cfce4ca5 mdbx: fix minor MSVC warnings. Leonid Yuriev 2021-04-26 10:56:18 +03:00
  • 66e5078e28 mdbx: refine page_touch() and dirtyroom checking. Leonid Yuriev 2021-04-26 02:47:25 +03:00
  • f29283a620 mdbx: merge branch master into devel. Leonid Yuriev 2021-04-26 02:08:03 +03:00
  • 4583f4bc8c mdbx-windows: minor fix assertion inside mdbx_suspend_threads_before_remap(). Leonid Yuriev 2021-04-25 17:01:35 +03:00
  • 55f41f40a1 mdbx: rename log2n_powerof2(). Leonid Yuriev 2021-04-24 14:07:15 +03:00
  • d1fea74d0e mdbx: preparation for LRU-spilling. Leonid Yuriev 2021-04-23 19:03:07 +03:00
  • 934ca25ab2 mdbx: fix MDBX_EACCESS from mdbx_env_set_option() if env not yet opened. Leonid Yuriev 2021-04-26 00:15:02 +03:00
  • 7a8fe2a72c mdbx-doc: clarify explanation of the auto-compactification feature. Leonid Yuriev 2021-04-25 13:54:28 +03:00
  • b21ad733ea mdbx: refine cursor_copy(), add cursor_restore(). Leonid Yuriev 2021-04-23 15:46:23 +03:00
  • 9b80da87f0 mdbx-docs: update bits.md Leonid Yuriev 2021-04-23 14:48:46 +03:00
  • a4db174b58 mdbx-test: add --random-writemap=no to long-stochastic. Leonid Yuriev 2021-04-22 15:09:52 +03:00
  • 0b9272209a mdbx: minor refine spilling. Leonid Yuriev 2021-04-22 13:44:37 +03:00
  • 416a802789 mdbx: add missing err-log for MDBX_TXN_FULL during page allocation. Leonid Yuriev 2021-04-21 12:20:32 +03:00
  • aaf465b942 mdbx: add missing err-log for MDBX_TXN_FULL during page allocation. Leonid Yuriev 2021-04-21 12:20:32 +03:00
  • c2d8c35daa mdbx: the radix-sort threshold reduced to 333. Leonid Yuriev 2021-04-20 22:14:13 +03:00
  • eabb29d9c4 mdbx: add MDBX_xPL_PREALLOC_FOR_RADIXSORT build options. Leonid Yuriev 2021-04-21 00:13:51 +03:00
  • 3b5e2680e9 mdbx: fix non-alloy build for windows. Leonid Yuriev 2021-04-20 01:36:34 +03:00
  • 62ccea031b mdbx++: add FIXME for buffer::silo. Leonid Yuriev 2021-04-19 22:13:20 +03:00
  • 3a109cecdc mdbx-make: more thunk-targets for non-GNU Makefile. Leonid Yuriev 2021-04-19 15:32:59 +00:00
  • 84d154d732 mdbx-cmake: set MDBX_ALLOY_BUILD=OFF for Debug build by default. Leonid Yuriev 2021-04-19 17:43:25 +03:00
  • 097c3ea059 mdbx-test: fix minor Solaris/SunOS warnings. Leonid Yuriev 2021-04-19 15:57:08 +03:00
  • 7a0d6c6196 mdbx: use POSIX_MADV_DONTNEED. Leonid Yuriev 2021-04-19 15:42:39 +03:00
  • b3b6a48797 mdbx: fix minor warning on Solaris/SunOs. Leonid Yuriev 2021-04-19 15:41:21 +03:00
  • b7110eb4d4 mdbx: fix non-alloy build for windows. Leonid Yuriev 2021-04-20 01:36:34 +03:00
  • 4703dac49d mdbx++: add FIXME for buffer::silo. Leonid Yuriev 2021-04-19 22:13:20 +03:00
  • b68e7c8186 mdbx-make: more thunk-targets for non-GNU Makefile. Leonid Yuriev 2021-04-19 15:32:59 +00:00
  • 4b7e39e304 mdbx-test: fix minor Solaris/SunOS warnings. Leonid Yuriev 2021-04-19 15:57:08 +03:00
  • c0704db03a mdbx: use POSIX_MADV_DONTNEED. Leonid Yuriev 2021-04-19 15:42:39 +03:00
  • e82359bca0 mdbx: fix minor warning on Solaris/SunOs. Leonid Yuriev 2021-04-19 15:41:21 +03:00
  • dc4ab96d4d mdbx-tools: fix mdbx_drop help/usage message. Leonid Yuriev 2021-04-18 19:28:22 +03:00
  • bedd13d411 mdbx-tools: minor fix error messages. Leonid Yuriev 2021-04-18 19:26:07 +03:00
  • f3c078fcbf mdbx-ci: fix spelling Github action. Leonid Yuriev 2021-04-18 11:35:34 +03:00
  • d69deec136 mdbx-ci: ignore extra files changes for main CI action(s). Leonid Yuriev 2021-04-18 11:31:47 +03:00
  • 91194de7e7 mdbx-test: output the signal name if killed/coredumped. Leonid Yuriev 2021-04-14 15:03:51 +03:00
  • e412d1a19e mdbx-test: don't use make check from long-stochastic. Leonid Yuriev 2021-04-18 19:34:53 +03:00
  • 17d8ed4bad mdbx-tools: fix mdbx_drop help/usage message. Leonid Yuriev 2021-04-18 19:28:22 +03:00
  • aa58498d23 mdbx-tools: minor fix error messages. Leonid Yuriev 2021-04-18 19:26:07 +03:00
  • 4cf8496422 mdbx: avoid read leaf-pages during dropping trees. Leonid Yuriev 2021-04-18 19:20:16 +03:00
  • df539e60e0 mdbx-ci: fix spelling Github action. Leonid Yuriev 2021-04-18 11:35:34 +03:00
  • 401423ca2e mdbx-ci: ignore extra files changes for main CI action(s). Leonid Yuriev 2021-04-18 11:31:47 +03:00
  • d1561dc357 mdbx: refactoring page_alloc() result type. Leonid Yuriev 2021-04-18 01:55:29 +03:00
  • 3f6758e18d mdbx: minor refactoring mdbx_cursor_set(). Leonid Yuriev 2021-04-18 00:49:38 +03:00
  • b59836e6d9 mdbx: minor refactoring: use cursor_set_result. Leonid Yuriev 2021-04-18 00:12:37 +03:00
  • 3eb48340ad mdbx: minor refactoring: use node_result. Leonid Yuriev 2021-04-17 22:38:07 +03:00
  • b3aba4691b mdbx: minor refactoring: use page_result. Leonid Yuriev 2021-04-17 22:33:02 +03:00
  • e4db019f47 mdbx: minor refine cursor_set_ex(). Leonid Yuriev 2021-04-17 22:36:46 +03:00
  • dc7098b3fb mdbx: minor refine page_new(). Leonid Yuriev 2021-04-17 20:42:31 +03:00
  • 6d3ff10165 mdbx: simplify page_unspill(). Leonid Yuriev 2021-04-17 19:20:47 +03:00
  • 3622433cf4 mdbx: fix page_copy() for unspilling a large/overflow page. Leonid Yuriev 2021-04-17 19:02:48 +03:00
  • 9c9cdfdb6d mdbx: minor fix mdbx_is_dirty(). Leonid Yuriev 2021-04-17 02:25:52 +03:00
  • a0a4bbaa7c mdbx: drop goto/label in prev commit. Leonid Yuriev 2021-04-17 01:59:21 +03:00
  • 3e0fad1cf6 mdbx: rework (NO)READAHEAD handling. Leonid Yuriev 2021-04-17 00:13:51 +03:00
  • 28affe79d8 mdbx-test: output the signal name if killed/coredumped. Leonid Yuriev 2021-04-14 15:03:51 +03:00
  • 958fd5b947 mdbx: use mp_txnid instead of P_DIRTY (squashed). Leonid Yuriev 2021-04-14 01:41:42 +03:00
  • f587a74597 mdbx: drop mx_dbistate. Leonid Yuriev 2021-04-13 14:16:51 +03:00
  • 5e334fa830 mdbx: extract mdbx_touch_dbi(). Leonid Yuriev 2021-04-12 16:01:47 +03:00
  • f9977975ae mdbx: remove extra TXN_DBI_CHANGED() check. Leonid Yuriev 2021-04-12 12:24:18 +03:00
  • e35c92eabb mdbx: refine mdbx_page_new(). Leonid Yuriev 2021-04-11 19:08:33 +03:00
  • 49296cad14 mdbx: refactor mdbx_drop_tree() & drop mdbx_retire pgno(). Leonid Yuriev 2021-04-10 21:50:38 +03:00
  • dfed1dbc17 mdbx: refactoring: merge page_retire() and page_loose(). Leonid Yuriev 2021-04-10 20:17:16 +03:00
  • 0dd27a46ee mdbx++: minor fix constexpr/inline for slice::invalid(). Leonid Yuriev 2021-04-09 18:34:05 +03:00
  • 20299f87cb mdbx: minor refine get_reasonable_db_maxsize(). Leonid Yuriev 2021-04-08 02:21:27 +03:00
  • 7f5cbf7dd8 mdbx: avoid float-point ops in prev commit. Leonid Yuriev 2021-04-07 14:29:14 +03:00
  • c14e4235ee mdbx: guess a reasonable maximum DB size for the default upper limit of geometry. Leonid Yuriev 2021-04-07 04:40:17 +03:00
  • 8ff44026c3 mdbx: fix minor MSVC warning. Leonid Yuriev 2021-04-07 02:31:52 +03:00
  • 43caec46e7 mdbx-ci: more spelling exclusions. Leonid Yuriev 2021-04-07 02:01:28 +03:00
  • 024ccf6826 mdbx: extract mdbx_get_sysraminfo(). Leonid Yuriev 2021-04-07 01:45:14 +03:00
  • 0f76002dde mdbx: merge branch master into devel. Leonid Yuriev 2021-04-06 03:08:30 +03:00
  • 9405d51716 mdbx-ci: more spelling exclusions. Leonid Yuriev 2021-04-06 01:11:49 +03:00
  • 2ecfbdb1bd mdbx: add ETH address for donations. Leonid Yuriev 2021-04-06 00:47:13 +03:00
  • 6ee62650af mdbx: add comment for unsure_equal(). Leonid Yuriev 2021-03-30 01:41:34 +03:00
  • 66df21ba78 mdbx: add a TODO/FIXME note (first r/w opening while r/o present). Leonid Yuriev 2021-03-30 01:38:24 +03:00
  • 4f62b059ef mdbx: minor clarify TODO (configurable threshold to keep reserve space for large/overflow pages). Leonid Yuriev 2021-03-30 01:34:46 +03:00
  • af9b7b5605 mdbx: MAJOR rework page splitting (squashed). Leonid Yuriev 2021-03-29 00:49:34 +03:00
  • e0795227e4 mdbx: merge branch master into devel. Leonid Yuriev 2021-03-29 00:00:43 +03:00
  • 0c3fb1804e mdbx-test: add SPECULUM_CURSORS build macro/option. Leonid Yuriev 2021-03-28 18:41:54 +03:00
  • 3ed99f8c20 mdbx: minor refine/fix cursor_check() internals. Leonid Yuriev 2021-03-28 03:09:13 +03:00
  • 636c212235 mdbx: minor refine page_check(). Leonid Yuriev 2021-03-27 21:59:17 +03:00
  • 19575e799f mdbx-test: add stochastic reverse mode to the append scenario. Leonid Yuriev 2021-03-27 16:47:08 +03:00
  • 83cd4f7d58 mdbx: separete DKBUF and DKBUF_DEBUG. Leonid Yuriev 2021-03-27 12:28:23 +03:00
  • bfc9921305 mdbx: change branch-node size to ~1/2 of the page size. Leonid Yuriev 2021-03-25 16:13:26 +03:00
  • 72f3a2fc3f mdbx: check zero-size of the first key on a branch-page. Leonid Yuriev 2021-03-23 04:33:56 +03:00