Commit Graph

  • d80654fa07 mdbx: rework max key-length and limit API. Leonid Yuriev 2019-11-24 19:04:21 +03:00
  • 9bd88d80d0 mdbx-chk: refine user-break (ctrl+c) handling. Leonid Yuriev 2019-11-23 14:51:14 +03:00
  • e69a7c1ba2 mdbx-test: minor refine nested case. Leonid Yuriev 2019-11-22 18:20:01 +03:00
  • fa8b68af1f mdbx-test: fix speculum_verify(). Leonid Yuriev 2019-11-21 14:25:27 +03:00
  • f008876a93 mdbx-test: fix rusage for single-mode. Leonid Yuriev 2019-11-20 11:16:45 +03:00
  • c00f484813 mdbx: fix nested txn. Leonid Yuriev 2019-11-19 16:52:26 +03:00
  • 67a8f581b6 mdbx: backport - drop obsolete assertion & refine related code. Leonid Yuriev 2019-11-18 16:49:02 +03:00
  • acde45ff3a mdbx: pre-sync range before mresize(). Leonid Yuriev 2019-11-18 14:25:23 +03:00
  • 4af2deb8cd mdbx: drop obsolete assertion & refine related code. Leonid Yuriev 2019-11-18 12:51:59 +03:00
  • f285ab59e6 mdbx: fix mdbx_runtime_flags for ALLOY-build. Leonid Yuriev 2019-11-18 11:50:21 +03:00
  • 497aa53e28 mdbx: fix minor typos. Leonid Yuriev 2019-11-18 00:13:27 +03:00
  • 72c944974a mdbx-tools: refine mdbx_chk (use boot-id, explicitly notify about sync-to-disk). Leonid Yuriev 2019-11-18 00:09:47 +03:00
  • d390300e60 mdbx: fix lck-file mode-flag while opening existent DB. Leonid Yuriev 2019-11-17 23:55:16 +03:00
  • d20b9d9ed7 mdbx: move boot-id from LCK to meta. Leonid Yuriev 2019-11-17 23:41:14 +03:00
  • dc03299dc6 mdbx: actualize list of supported OS. Leonid Yuriev 2019-11-16 00:34:49 +03:00
  • 7ef61e12c0 mdbx: refine update_gc() for large-transaction cases. Leonid Yuriev 2019-11-16 00:18:20 +03:00
  • c250500afd mdbx: performs long assertion-loops only when audit enabled. Leonid Yuriev 2019-11-16 00:21:31 +03:00
  • baee0be7ad mdbx-tools: minor refine mdbx_chk (use const strings). Leonid Yuriev 2019-11-15 13:10:29 +03:00
  • 7703312b88 mdbx-tools: fix mdbx_chk to avoid creation of missing DB. Leonid Yuriev 2019-11-15 11:16:26 +03:00
  • af6aa30c7c mdbx: don't sync-on-close deleted files. Leonid Yuriev 2019-11-15 11:09:15 +03:00
  • 84ae40172e mdbx: refine/fix madvise(MADV_DONTDUMP). Leonid Yuriev 2019-11-15 00:44:45 +03:00
  • 42d9e06598 mdbx: add MDBX_ACCEDE environment opening flag. Leonid Yuriev 2019-11-14 20:45:39 +03:00
  • cb8fac6f5f mdbx: prohibit non-WRITEMAP modes under OpenBSD. Leonid Yuriev 2019-11-14 15:12:19 +03:00
  • f0c6292fa3 mdbx: ignore ENOSYS/ENOTSUP from madvice()/posix_madvise()/posix_fadvise(). Leonid Yuriev 2019-11-13 23:47:24 +03:00
  • c09fbc2ad2 mdbx: refork mdbx_flush_incoherent_mmap(). Leonid Yuriev 2019-11-13 22:12:09 +03:00
  • fe40af160d mdbx: split-off mdbx-options into options.h. Leonid Yuriev 2019-11-13 20:14:17 +03:00
  • 7d0206d2cf mdbx-make: rename targets, add more to non-GNU makefile. Leonid Yuriev 2019-11-13 15:22:02 +03:00
  • 057812fe02 mdbx: use MAP_CONCEAL when available (compatibility). Leonid Yuriev 2019-11-13 15:56:35 +03:00
  • d47c4eeb78 mdbx-make: add -mapasync option to tests for clarity. Leonid Yuriev 2019-11-13 09:08:24 +03:00
  • b95fb5b124 mdbx: add auxiliary debug-begin/debug-end includes. Leonid Yuriev 2019-11-13 03:20:25 +03:00
  • d3e4a4659f mdbx-test: use SysV semaphores on systems without shared mutexes. Leonid Yuriev 2019-11-12 15:14:07 +03:00
  • c882f77f54 mdbx-test: refine locking options. Leonid Yuriev 2019-11-12 13:28:24 +03:00
  • ac75fe2604 mdbx: move platform-related options into osal.h Leonid Yuriev 2019-11-12 13:27:37 +03:00
  • d655289d08 mdbx-make: fix/refine LIBS propagation. Leonid Yuriev 2019-11-12 11:47:23 +03:00
  • 0dc544fefd mdbx: use SysV semaphores on systems without shared mutexes. Leonid Yuriev 2019-11-11 12:48:31 +03:00
  • 2f45c37320 mdbx-posix: refine locking build-options. Leonid Yuriev 2019-11-10 23:20:23 +03:00
  • e2ae62bdb2 mdbx: refine gc_update() to avoid fragmentation on rare cases. Leonid Yuriev 2019-11-10 14:18:59 +03:00
  • df44539486 mdbx: fix unused warning for Wpedantic_format_voidptr(). Leonid Yuriev 2019-11-10 00:41:03 +03:00
  • 353def5c29 mdbx-ci: don't use Precise Pangolin on travis-ci. Leonid Yuriev 2019-11-10 00:40:32 +03:00
  • a6bf73a817 mdbx: don't rollback when boot-id matches. Leonid Yuriev 2019-11-10 00:23:24 +03:00
  • a7e0b3ccdf mdbx-build: SunOS/Solaris/OpenIndiana support, etc. Leonid Yuriev 2019-11-09 15:15:25 +03:00
  • 5af02290e6 mdbx: portability fixes for SunOS/Solaris/OpenIndiana. Leonid Yuriev 2019-11-09 10:50:43 +03:00
  • bb2d2877c4 mdbx: add auto-readahead note/description. Leonid Yuriev 2019-11-09 00:05:30 +03:00
  • 4dfa97cda9 mdbx-posix: fix mdbx_lck_seize() and mdbx_lck_destroy() for rare race-case. Leonid Yuriev 2019-11-08 23:48:53 +03:00
  • 6a7499c8fc mdbx: refine POSIX-options detection. Leonid Yuriev 2019-11-08 16:57:54 +03:00
  • 51440b5542 mdbx: minor fix auto-readahead for buggy platforms (i.e. DragonflyBSD, NetBSD). Leonid Yuriev 2019-11-08 14:55:46 +03:00
  • 6da4c1f06b mdbx-build: add stub Makefile for non-GNU Make. Leonid Yuriev 2019-11-08 09:25:43 +03:00
  • fc48751f8f mdbx: use MAP_NOSYNC & MAP_HASSEMAPHORE if defined (compatibility). Leonid Yuriev 2019-11-08 09:06:44 +03:00
  • 885d5b2121 mdbx-test: support for systems lack of _POSIX_THREAD_PROCESS_SHARED. Leonid Yuriev 2019-11-07 16:17:08 +03:00
  • 3e7944f732 mdbx: use POSIX.1 IPC semaphores on systems without shared mutexes. Leonid Yuriev 2019-11-06 23:53:53 +03:00
  • 1f82b4ff21 mdbx-build: minor fix GNUMakefile for xBSD-compatibility. Leonid Yuriev 2019-11-05 04:43:44 +03:00
  • 647d832556 mdbx: initial mdbx_check_fs_rdonly() and mdbx_check_fs_local(). Leonid Yuriev 2019-11-04 17:19:12 +03:00
  • b7ed67543f mdbx-windows: use CreateFileW() instead of CreateFileA(). Leonid Yuriev 2019-11-04 12:57:44 +03:00
  • fff19d878f mdbx: fix update_gc() to avoid rare MDBX_KEYEXIST. Leonid Yuriev 2019-11-03 09:51:41 +03:00
  • 2cfe632296 mdbx: rework/fix rebalance & page merge (fix MDBX_PAGE_FULL). Leonid Yuriev 2019-11-02 17:22:13 +03:00
  • cf884f082f mdbx: initial osal_bootid(). Leonid Yuriev 2019-11-01 21:25:17 +03:00
  • ca06572e2a mdbx-test: add built-in help/usage. Leonid Yuriev 2019-10-31 14:45:21 +03:00
  • 5233a3cdb4 mdbx-test: add resource usage (CPU time). Leonid Yuriev 2019-10-30 17:12:46 +03:00
  • 2c48f295b0 mdbx-tests: simplify/speedup basic testcase. Leonid Yuriev 2019-10-29 21:04:49 +03:00
  • 55395820e3 mdbx: set MDBX_MIN_PAGESIZE to 256 (useful for testing). Leonid Yuriev 2019-10-29 18:54:03 +03:00
  • 582fdd7ed2 mdbx: refine mdbx_env_set_geometry(). Leonid Yuriev 2019-10-29 11:54:37 +03:00
  • e7b3a15d54 mdbx: fix/refine mdbx_setup_dxb() for case open existing DB with new geo-params. Leonid Yuriev 2019-10-29 08:23:48 +03:00
  • 3cc8e5222c mdbx: undo/promote geo-changes made by child txn on abort. Leonid Yuriev 2019-10-28 20:32:01 +03:00
  • 415cb5f886 mdbx: refactor me_dbgeo usage and osal-mmap/mresize(). Leonid Yuriev 2019-10-28 18:01:02 +03:00
  • b4729bd1d6 mdbx: minor refine pgno_align2os_bytes() usage. Leonid Yuriev 2019-10-28 10:08:38 +03:00
  • d869e20941 mdbx-chk: don't treat mm_geo.current < dxbfile_pages as an error Leonid Yuriev 2019-10-28 08:51:15 +03:00
  • b274c4a730 mdbx: fix to avoid ERROR_USER_MAPPED_FILE on Windows (minor race condition). Leonid Yuriev 2019-10-27 22:35:25 +03:00
  • 4ee3bc8be9 mdbx-ci: fix log-artifacts path for AppVeyor. Leonid Yuriev 2019-10-27 20:55:29 +03:00
  • b4a5728455 mdbx: rework readahead management. Leonid Yuriev 2019-10-27 00:34:49 +03:00
  • 9c89e7c739 mdbx: refine discarding of unused pages (MADV_FREE/MADV_REMOVE/MADV_DONTNEED). Leonid Yuriev 2019-10-26 23:57:49 +03:00
  • 40f31ea936 mdbx: add atomic_yield(). Leonid Yuriev 2019-10-26 01:18:14 +03:00
  • 3ee269ddb6 mdbx: support for txnid of the last modification for sub-dbs/kv-spaces. Leonid Yuriev 2019-10-25 13:51:21 +03:00
  • 64ecfe171a mdbx-ci: remove sh4-linux-gnu-gcc and mips64-linux-gnuabi64-gcc from cross-qemu blacklist. Leonid Yuriev 2019-10-26 01:14:08 +03:00
  • 84bff89eb1 mdbx: conform to and use -Wpedantic. Leonid Yuriev 2019-10-26 00:02:28 +03:00
  • c694325ab7 mdbx: fix minor warnings. Leonid Yuriev 2019-10-25 22:56:25 +03:00
  • a0ec89e468 mdbx: fix check-for-unique for the case when more than one new database are opening (i.e. with creation of LCK-files). Leonid Yuriev 2019-10-25 21:00:07 +03:00
  • 42f8154c39 mdbx-cmake: rename MDBX_USE_VALGRIND option. Leonid Yuriev 2019-10-25 08:10:15 +03:00
  • b905dea2ee mdbx: fix Coverity warning (insignificant). Leonid Yuriev 2019-10-25 08:08:18 +03:00
  • edf5ddad4f mdbx: get rid of macro redefinition warnings under MSVC. cryptozoidberg 2019-10-24 14:19:14 +02:00
  • 8de8072078 mdbx: minor refine options and build-info. Leonid Yuriev 2019-10-24 16:40:40 +03:00
  • 7b2034c699 mdbx-ci: extend build-matrix for AppVeyour. Leonid Yuriev 2019-10-24 13:01:58 +03:00
  • 81fd0beb1a mdbx: rework/fix unaligned access. Leonid Yuriev 2019-10-23 23:46:12 +03:00
  • b7d27c1b36 mdbx: rework internals for using C99 flexible array member (preparation for -fsanitize=undefined). Leonid Yuriev 2019-10-22 22:31:06 +03:00
  • 70350bad81 mdbx-cmake: require C99 or use C11 when available. Leonid Yuriev 2019-10-22 12:14:26 +03:00
  • 83a0c31b35 mdbx: converts macros to inline functions, rework page_fill_enough() and thresholds. Leonid Yuriev 2019-10-22 00:31:15 +03:00
  • d24df41a67 mdbx-cmake: enable MSVC 2015. Leonid Yuriev 2019-10-24 11:59:02 +03:00
  • ed515d4642 mdbx: fix static library build on Windows. Leonid Yuriev 2019-10-24 11:51:25 +03:00
  • 411ed3e578 mdbx: fix Coverity warnings (minor). Leonid Yuriev 2019-10-21 11:46:17 +03:00
  • 0137d1f303 mdbx: alter Valgrind suppressions. Leonid Yuriev 2019-10-21 10:00:55 +03:00
  • efa855b497 mdbx: drop unused dpl_mark4removal(). Leonid Yuriev 2019-10-21 10:00:28 +03:00
  • 2eab9c2957 mdbx: refine/optimize list-related loops. Leonid Yuriev 2019-10-20 20:47:51 +03:00
  • 72f2a315c4 mdbx-test: don't filter lib's output by test's log-level. Leonid Yuriev 2019-10-20 08:14:33 +03:00
  • e6462dfe58 mdbx: minor refine mdbx_chk output. Leonid Yuriev 2019-10-19 14:12:20 +03:00
  • f5d75a85b0 mdbx: minor refine setup_dxb() logging. Leonid Yuriev 2019-10-19 14:11:59 +03:00
  • 081603e6bc mdbx: alter update-gc for intermediate refunding of pages. Leonid Yuriev 2019-10-19 10:17:53 +03:00
  • 7681132704 mdbx-test: more probability of zero-window (i.e. flipcoin_x4) for ttl and nested testcases. Leonid Yuriev 2019-10-19 00:21:23 +03:00
  • 4e386be914 mdbx: don't hold dbi-lock during tree deletion inside mdbx_drop(). Leonid Yuriev 2019-10-18 23:16:12 +03:00
  • b690415f44 mdbx-build: add test make-target. Leonid Yuriev 2019-10-18 21:02:17 +03:00
  • 15ce797863 mdbx: refine/optimize mdbx_page_alloc(). Leonid Yuriev 2019-10-18 20:28:36 +03:00
  • 36477ef408 mdbx: minor refine/optimize mdbx_page_new(). Leonid Yuriev 2019-10-18 18:19:54 +03:00