Commit Graph

  • 7878b2e31d mdbx-test: less probability for aborting nested transactions in nested testcase. Leonid Yuriev 2019-10-18 08:46:52 +03:00
  • b11d655173 mdbx: refine/optimize update-gc (remove anything in our spill list from parent's dirty list). Leonid Yuriev 2019-10-17 10:13:18 +03:00
  • 781a814864 mdbx: refine/optimize update-gc (filter-out list of dirty-pages from loose-pages). Leonid Yuriev 2019-10-17 10:12:39 +03:00
  • 363841caf8 mdbx: rework/optimize pages refunding. Leonid Yuriev 2019-10-17 10:08:49 +03:00
  • 7f0dd35702 mdbx: more checking in mdbx_dirtylist_check(). Leonid Yuriev 2019-10-17 09:48:50 +03:00
  • 5c54566c5c mdbx: rework/fix retire-to-parent-txn pages (fix LMDB bug). Leonid Yuriev 2019-10-17 14:07:47 +03:00
  • 659933d0c9 mdbx: rework mdbx_page_flush(), providing flush_begin & flush_end. Leonid Yuriev 2019-10-17 10:03:45 +03:00
  • 6a01955810 mdbx: rework atomic-ops & safe64_reset_compare() to avoid use libatomic on true-32-bit arches. Leonid Yuriev 2019-10-17 00:18:30 +03:00
  • 73b60d991a mdbx-build: add -Wno-tautological-compare. Leonid Yuriev 2019-10-16 14:26:45 +03:00
  • a907109cce mdbx: fix MDBX_node for big-endian. Leonid Yuriev 2019-10-16 14:22:38 +03:00
  • 0f3994d506 mdbx: fix/refine mdbx_is_dirty(). Leonid Yuriev 2019-10-16 10:44:24 +03:00
  • b84bb4f805 mdbx: add MDBX_TXNID_STEP macro for debugging. Leonid Yuriev 2019-10-15 23:53:00 +03:00
  • 8467552f0b mdbx: fix internal audit. Leonid Yuriev 2019-10-15 23:52:17 +03:00
  • 1794aeb79b mdbx-dist: refix typo of fixing typo ;) Leonid Yuriev 2019-10-15 22:31:02 +03:00
  • 5f8ecf0144 mdbx: fix Valgrind support. Leonid Yuriev 2019-10-15 09:13:45 +03:00
  • 2280ab0513 mdbx-build: refine memcheck target. Leonid Yuriev 2019-10-14 22:47:25 +03:00
  • a0e9c33e54 mdbx: rework page loosing/retirement. Leonid Yuriev 2019-10-14 19:47:14 +03:00
  • ee77920a2e mdbx: refine loose-pages refunding. Leonid Yuriev 2019-10-13 14:35:10 +03:00
  • 06193f4267 mdbx: refine page-number-list checking. Leonid Yuriev 2019-10-13 10:26:28 +03:00
  • 137b19aac2 mdbx: workaround for Apple-LLVM bug. Leonid Yuriev 2019-10-12 22:38:14 +03:00
  • 3df5f60a70 mdbx: include <malloc_np.h> for FreeBSD & OpenBSD. Leonid Yuriev 2019-10-12 21:30:59 +03:00
  • bb922c208c mdbx: add mdbx_is_readahead_reasonable(). Leonid Yuriev 2019-10-12 14:16:45 +03:00
  • 3ce4c3a0e4 mdbx-test: minor refine actor_poll() for Windows. Leonid Yuriev 2019-10-12 10:42:27 +03:00
  • 23733bf4af mdbx-test: rework/fix actor_poll() to avoid loosing SIGCHLD. Leonid Yuriev 2019-10-12 10:24:18 +03:00
  • c51a6e6d95 mdbx: move madvise(MADV_RANDOM) to under control of MDBX_NORDAHEAD flag. Leonid Yuriev 2019-10-12 06:28:26 +03:00
  • e04ea50c18 mdbx: refine madvise(MADV_REMOVE_OR_FREE_OR_DONTNEED), add 256K threshold. Leonid Yuriev 2019-10-12 00:29:41 +03:00
  • f6ba670cd0 mdbx: minor fix for __gnu_linux__. Leonid Yuriev 2019-10-11 23:33:03 +03:00
  • 8921da2787 mdbx: fix internal comments. Leonid Yuriev 2019-10-11 20:32:16 +03:00
  • 4560ddcd1e mdbx: refine ending of read-only transactions. Leonid Yuriev 2019-10-11 20:23:21 +03:00
  • 99e9956410 mdbx: make mdbx_env_set_geometry() behavior equal to LMDB (i.e. fixed size). Leonid Yuriev 2019-10-11 16:54:55 +03:00
  • d67d3f97cc mdbx-build: fix bench target. Leonid Yuriev 2019-10-11 16:03:51 +03:00
  • 9e42fc4fe0 mdbx-build: fix GNUmakefile for git-submodule case. Leonid Yuriev 2019-10-11 15:54:54 +03:00
  • 8861f1377c mdbx: roundup buffer size inside env_copy2fd(). Leonid Yuriev 2019-10-11 13:21:38 +03:00
  • 4d692821cb mdbx: partial workaround for ASAN false-positive (due internal bug). Leonid Yuriev 2019-10-11 09:12:59 +03:00
  • 456f77abec mdbx-ci: extend check-targets with nested-txn cases. Leonid Yuriev 2019-10-11 01:00:40 +03:00
  • 3c4d87520e mdbx: drop NEXT_LOOSE_PAGE macro. Leonid Yuriev 2019-10-10 23:12:16 +03:00
  • 39c1238d8e mdbx: refine Valgrind support (i.e. avoid false-positives). Leonid Yuriev 2019-10-10 22:11:28 +03:00
  • ab01078cd7 mdbx: refine/fix SORT_IMPL macro. Leonid Yuriev 2019-10-10 20:57:05 +03:00
  • 13b52b1d51 mdbx-test: avoid redefine xSEC_PER_SEC. Leonid Yuriev 2019-10-10 22:46:43 +03:00
  • 7ed1586ea6 mdbx-test: fix for MDBX_BAD_TXN in case txn auto-cancelled during commit. Leonid Yuriev 2019-10-10 15:24:39 +03:00
  • a6aad9c918 mdbx: use malloc_usable_size() and analogues. Leonid Yuriev 2019-10-10 14:36:57 +03:00
  • e519b8f315 mdbx: fix memleak after write-txn state rework. Leonid Yuriev 2019-10-10 14:41:59 +03:00
  • 0616fa72d4 mdbx-test: minor fix nested case. Leonid Yuriev 2019-10-10 08:59:19 +03:00
  • e5bd1a6d6f mdbx-test: fix MSVC warnings (minor). Leonid Yuriev 2019-10-10 00:57:22 +03:00
  • 95bb371b0d mdbx-test: fix build by non-c++17 compilers. Leonid Yuriev 2019-10-10 00:25:24 +03:00
  • e5caec031f mdbx: fix warnings from old/obsolete clang (minor). Leonid Yuriev 2019-10-10 00:24:38 +03:00
  • 0f8b2ff399 mdbx-test: add nested testcase. Leonid Yuriev 2019-10-09 23:38:44 +03:00
  • 66430fd10d mdbx-test: add verifying by speculum option. Leonid Yuriev 2019-10-09 17:56:59 +03:00
  • 1573d110f6 mdbx: minor refine mdbx.h Leonid Yuriev 2019-10-09 14:36:04 +03:00
  • 26641d839b mdbx-build: use optimization for size (i.e. -Os) by default. Leonid Yuriev 2019-10-09 14:10:56 +03:00
  • 273af26244 mdbx: rework nested transactions and write-transaction state. Leonid Yuriev 2019-10-08 19:57:17 +03:00
  • 1c9c637701 mdbx: refine internal audit for intermediate state checking. Leonid Yuriev 2019-10-07 19:40:25 +03:00
  • cee1aeaf26 mdbx: fix comment typo. Leonid Yuriev 2019-10-07 18:03:08 +03:00
  • 64016c86f6 mdbx: add minor assertions info mdbx_env_walk(). Leonid Yuriev 2019-10-07 15:51:17 +03:00
  • 6efe0686c9 mdbx: fix Coverity warnings. Leonid Yuriev 2019-10-06 19:05:08 +03:00
  • 0a5dcdb120 mdbx-dist: fix typo. Leonid Yuriev 2019-10-06 18:23:23 +03:00
  • ffa8fb1390 mdbx-ci: enable MDBX_DEBUG for Coverity-builds. Leonid Yuriev 2019-10-06 15:00:43 +03:00
  • 7d621f6f0a mdbx: auto-define _GNU_SOURCE under control of MDBX_DISABLE_GNU_SOURCE. Leonid Yuriev 2019-10-06 14:59:53 +03:00
  • 3c82ed0323 mdbx-ci: extend travis-ci.org build matrix. Leonid Yuriev 2019-10-06 13:05:26 +03:00
  • 85cd04b712 mdbx-test: using c++17 (for std::string_view). Leonid Yuriev 2019-10-06 12:27:38 +03:00
  • f629914217 mdbx-test: add dataset verification to hill testcase. Leonid Yuriev 2019-10-06 12:07:14 +03:00
  • 440bfec193 mdbx: allow 256-byte pages. Leonid Yuriev 2019-10-05 22:46:12 +03:00
  • 8291de71cb mdbx: support keys and dupsort values upto maxnode (half of a page) size. Leonid Yuriev 2019-10-05 22:07:41 +03:00
  • d9e1d7f23a mdbx: fix assertions inside pnl_search(). Leonid Yuriev 2019-10-04 15:52:15 +03:00
  • aa92d6b7e7 mdbx: add paranoid assertions to qsort and bsearch macros. Leonid Yuriev 2019-10-04 15:06:59 +03:00
  • e3b5381f30 mdbx-test: fix enabling MDBX_DBG_AUDIT. Leonid Yuriev 2019-10-04 11:19:45 +03:00
  • 529d484884 mdbx: fix audit for retired-pages tracking (minor, i.e. false-negative). Leonid Yuriev 2019-10-04 12:28:53 +03:00
  • 39d43a5b57 mdbx: alter mdbx_cursor_put() paths. Leonid Yuriev 2019-10-04 10:53:29 +03:00
  • 9e92ea2372 mdbx: add mdbx_page_check(). Leonid Yuriev 2019-10-04 02:29:27 +03:00
  • 8768641872 mdbx: refine/simplify MDBX_node. Leonid Yuriev 2019-10-04 01:51:19 +03:00
  • daddd53793 mdbx: refine mdbx_page_copy(). Leonid Yuriev 2019-10-03 19:40:05 +03:00
  • bf818ddf1e mdbx: fix assertion inside mdbx_txn_begin(). Leonid Yuriev 2019-10-03 14:04:37 +03:00
  • 5420a3b2fb mdbx-test: less detailed logging for Windows to avoid test-timeout. Leonid Yuriev 2019-10-02 12:07:02 +03:00
  • a644c50307 mdbx-ci: enable non-console progress indicator explicitly. Leonid Yuriev 2019-10-02 01:21:41 +03:00
  • 632e688202 mdbx-test: rework progess inticator. Leonid Yuriev 2019-10-02 01:17:09 +03:00
  • 315e58578d mdbx: don't log empty file read error upon creation it. Leonid Yuriev 2019-10-01 23:03:09 +03:00
  • 4d49112a56 mdbx-test: refix logging. Leonid Yuriev 2019-10-01 22:01:45 +03:00
  • e1e2e2e935 mdbx: provide additional info via mdbx_env_info_ex(). Leonid Yuriev 2019-10-01 17:09:57 +03:00
  • f918d89408 mdbx: English translation for osal.h crypto.sowle 2019-10-01 16:05:41 +03:00
  • f0246463c0 mdbx: rework sync_timestamp. Leonid Yuriev 2019-10-01 15:01:33 +03:00
  • 5693fad51d mdbx: add mdbx_osal_monotime_to_16dot16(). Leonid Yuriev 2019-10-01 13:53:52 +03:00
  • 22f6e53520 mdbx: update README and refine API description. Leonid Yuriev 2019-09-30 02:40:19 +03:00
  • 83da954725 mdbx: rework env_sync() for MDBX_NOMETASYNC, add mdbx_env_sync_poll(). Leonid Yuriev 2019-09-29 23:51:43 +03:00
  • 91ee841fc2 mdbx: clarify mdbx_env_set_flags(). Leonid Yuriev 2019-09-28 20:10:29 +03:00
  • 87f8c01ac4 mdbx: add space argument for oom-callback. Leonid Yuriev 2019-09-28 19:03:02 +03:00
  • 86496e4480 mdbx: refine retired-next-reader insode mdbx_txn_info(). Leonid Yuriev 2019-09-28 11:23:20 +03:00
  • dcd3c497d9 mdbx-windows: rename mdbx_dll_handler() to avoid confusion with callbacks. Leonid Yuriev 2019-09-27 11:58:48 +03:00
  • e41369fbc6 mdbx-build: minor fix build-info & options. Leonid Yuriev 2019-09-27 11:32:39 +03:00
  • 20447c877d mdbx: refine mdbx.h and API description, etc (5 of 5). Leonid Yuriev 2019-09-26 20:00:22 +03:00
  • 1ab33333bc mdbx: refine options and build-info. Leonid Yuriev 2019-09-25 19:03:04 +03:00
  • 40ee895aae mdbx: refine internal debug facilities. Leonid Yuriev 2019-09-24 02:07:00 +03:00
  • a0025d84fd mdbx: refine txnid-safety for 32-bit archs. Leonid Yuriev 2019-09-23 21:22:55 +03:00
  • b3c2118eb4 mdbx: explicity types inside LCK-file, reserve ABA-solver for 32-bit archs. Leonid Yuriev 2019-09-23 15:32:29 +03:00
  • 3549744f40 mdbx: incremental/combined linear+binary search for dirty-pages list. Leonid Yuriev 2019-09-23 04:54:56 +03:00
  • f3a51be7ff mdbx: rewrite internal bsearch for pages-lists. Leonid Yuriev 2019-09-23 00:38:31 +03:00
  • aceab9be44 mdbx: replace internal qsort implementation (up to 25% faster). Leonid Yuriev 2019-09-22 04:02:02 +03:00
  • 5a94d734cc mdbx: auto-sorting for dirty-pages list. Leonid Yuriev 2019-09-21 19:57:05 +03:00
  • f5bd9b863c mdbx-ci: update travis-ci config. Leonid Yuriev 2019-09-21 13:47:15 +03:00
  • 83fbcb660f mdbx: add mdbx_txn_info(). Leonid Yuriev 2019-09-21 13:08:23 +03:00
  • 0b500798df mdbx: refund loose-pages. Leonid Yuriev 2019-09-21 00:52:19 +03:00