Commit Graph

  • 61a3766e23 mdbx: update DB format and signatures. Leo Yuriev 2017-05-30 16:22:42 +03:00
  • d99b2a4b16 mdbx: use F_SETNOSIGPIPE to SIGPIPE husing on a OS X. Lorenz Bauer 2017-05-31 14:06:25 +03:00
  • 98a8fbdc7a mdbx: restore SIGPIPE hushing in the db-copy-thread. Leo Yuriev 2017-05-31 14:04:40 +03:00
  • e7ee0bc762 mdbx: refine testing-jitter, add MDBX_DBG_JITTER. Leonid Yuriev 2017-06-06 03:10:52 +03:00
  • 009618560f mdbx: refine mdbx_is_dirty(). Leo Yuriev 2017-05-30 15:19:46 +03:00
  • d5b0e68326 mdbx: fix merge/rebase error (remove mm_txnid field). Leo Yuriev 2017-05-29 20:44:17 +03:00
  • a36b065cd9 mdbx: logging MDBX_PROBLEM reasons. Leo Yuriev 2017-05-29 20:17:02 +03:00
  • 11e8727483 mdbx: fix missing braces. Leo Yuriev 2017-05-29 20:16:09 +03:00
  • 70fe982c3a mdbx: fix MDBX_WANNA_RECOVERY description. Leo Yuriev 2017-05-29 19:27:49 +03:00
  • d91785f635 mdbx: disable unnecessary assertion in mdbx_is_dirty(). Leo Yuriev 2017-05-29 19:27:17 +03:00
  • 0f676db491 mdbx: add locking while open/close/drop dbi-handles (avoid dbi-related races). Leo Yuriev 2017-05-28 18:50:09 +03:00
  • bd5d092a2b mdbx: check system pagesize (paranoia). Leo Yuriev 2017-05-28 18:49:05 +03:00
  • a0ddf167dd mdbx: common database format for 32/64 targets (remove 'size_t' structures). Leo Yuriev 2017-05-28 18:35:32 +03:00
  • fca74ab80c mdbx: refine meta-commit in WRITEMAP mode. Leo Yuriev 2017-05-28 18:31:33 +03:00
  • 2347282b4f mdbx: add assertions for reclaiming-edge. Leo Yuriev 2017-05-28 13:06:29 +03:00
  • 236ddda1ae mdbx: more assertions for mdbx_txn_renew0(). Leo Yuriev 2017-05-28 13:48:36 +03:00
  • 2ea97ae281 mdbx: refine find_oldest() and meta_head(). Leo Yuriev 2017-05-28 13:04:36 +03:00
  • 91bc3129d5 mdbx: refine mdbx_page_search(). Leo Yuriev 2017-05-28 13:43:52 +03:00
  • 9318e4cabb test: fix oom_callback() nasty bug. Leo Yuriev 2017-05-28 13:09:36 +03:00
  • f945e8a062 mdbx: fix cache-aligned size for MDBX_reader. Leo Yuriev 2017-05-28 13:48:11 +03:00
  • bb5e1b43af mdbx: relax mdbx_is_dirrty() assertion for map-range. Leo Yuriev 2017-05-28 13:09:05 +03:00
  • 17c8057684 mdbx: fix gcc 'uninitialized' warning with -Og. Leo Yuriev 2017-05-28 13:07:29 +03:00
  • 77f0e5e38e mdbx: drop unused debug features. Leo Yuriev 2017-05-27 20:03:46 +03:00
  • 60fed8bbca mdbx: fix first-rdonly-blocker bug. Leo Yuriev 2017-05-26 20:28:09 +03:00
  • 5c3691eff1 mdbx: split atomics for 32/64 uints. Leo Yuriev 2017-05-26 20:27:27 +03:00
  • 76f459c08e mdbx: two-phase txnid to avoid bottom-top DMA updates. Leo Yuriev 2017-05-26 20:00:52 +03:00
  • dd33bea1d8 tools: mdbx_chk - don't 'rolled-back' in cooperative more. Leo Yuriev 2017-05-26 18:17:17 +03:00
  • bd70135db1 mdbx: re-read and check meta-pages in mdbx_read_header() for consistency. Leo Yuriev 2017-05-26 18:10:23 +03:00
  • 93c5a84bcd mdbx: more checks mdbx_read_header() for metapage's content. Leo Yuriev 2017-05-26 17:25:08 +03:00
  • 1c170cb866 mdbx: add MAX_PAGENO, MIN_PAGENO, MAX_MAPSIZE, MIN_MAPSIZE. Leo Yuriev 2017-05-26 17:23:09 +03:00
  • 18cf804d0b mdbx: add STATIC_ASSERT_MSG, refine STATIC_ASSERT. Leo Yuriev 2017-05-26 17:11:48 +03:00
  • b038767a18 mdbx: add 'mdbx_chk' to Makefile's 'check' target. Leo Yuriev 2017-05-26 16:17:24 +03:00
  • 4293840055 mdbx: fix meta-invalidate race in MDBX_WRITEMAP mode (when target == head). Leo Yuriev 2017-05-26 15:44:00 +03:00
  • f4d3b76f81 mdbx: minor refine and rename mdbx_sync_locked(). Leo Yuriev 2017-05-26 15:39:58 +03:00
  • 9959fe8711 mdbx: reorder fields in metapages. Leo Yuriev 2017-05-26 15:46:45 +03:00
  • c02a3ac687 mdbx: ignore meta-pages with wrong pagesize. Leo Yuriev 2017-05-26 15:20:25 +03:00
  • 0e49b1b2b4 mdbx: update 'mapsize' while opening with txn-increment. Leo Yuriev 2017-05-26 15:11:31 +03:00
  • d642127d10 tools: fix 'tail' show in mdbx_chk. Leo Yuriev 2017-05-26 12:00:05 +03:00
  • 5d836d2b03 mdbx: clarify steady/fluid/weak names of a head. Leo Yuriev 2017-05-26 11:45:13 +03:00
  • 1e0654a4a8 tool: show operational txnid in mdbx_chk. Leo Yuriev 2017-05-26 11:08:21 +03:00
  • 47cc45dec4 mdbx: don't check present durability mode for MDBX_RDONLY. Leo Yuriev 2017-05-26 10:50:20 +03:00
  • 700f3e9c2a mdbx: more checks for meta-params. Leo Yuriev 2017-05-25 14:07:58 +03:00
  • 9eeb00f448 mdbx: trinity of meta-pages. Leo Yuriev 2017-05-24 21:43:29 +03:00
  • 141306644d mdbx: fix mdbx_env_copy_asis(). Leo Yuriev 2017-05-25 17:51:15 +03:00
  • ef941b2587 mdbx: fix crash on twice txn-end (backport from devel). Leo Yuriev 2017-05-25 20:42:18 +03:00
  • 7315b99b9d mdbx: fix MSVC/Windows warnings. Leo Yuriev 2017-05-24 19:02:24 +03:00
  • b9dbe7c577 mdbx: fix segfault and double-free (in case twice abortion of the same write-txn). Leo Yuriev 2017-05-25 18:37:47 +03:00
  • 96de36baef mdbx: refine mdbx_cursor_count() API. Leo Yuriev 2017-05-25 16:21:29 +03:00
  • 3a166e1970 test: temporary crutch. Leo Yuriev 2017-05-25 03:41:42 +03:00
  • b94e761d73 mdbx: fix 'magic' bug. Leo Yuriev 2017-05-25 14:56:07 +03:00
  • 89b5b53193 test: refine oom-callback. Leo Yuriev 2017-05-25 09:51:26 +03:00
  • 5519d568f0 mdbx: fix mdbx_filesize() for Windows. Leo Yuriev 2017-05-25 09:26:03 +03:00
  • 15e2a45425 mdbx: check size of lck-file. Leo Yuriev 2017-05-25 09:20:04 +03:00
  • c335b16c81 mdbx: rework mapsize's stuff inside mdbx_setup_dxb(). Leo Yuriev 2017-05-25 08:57:58 +03:00
  • aa9aa79e11 test: fix oom_callback(). Leo Yuriev 2017-05-24 19:22:48 +03:00
  • af7b468e63 mdbx: use uint64_t or size_t insted of off_t (buggy on Windows). Leo Yuriev 2017-05-24 18:50:24 +03:00
  • 7ef7e70012 mdbx: add STATIC_ASSERT. Leo Yuriev 2017-05-24 18:42:13 +03:00
  • 96b9af0b4d mdbx: minor refine idl functions. Leo Yuriev 2017-05-24 15:50:03 +03:00
  • 924e81ed92 mdbx: refine includes, drop midl.h and mdbx_osal.h Leo Yuriev 2017-05-24 13:59:50 +03:00
  • dd7855c30d mdbx: cleanup tabs (minor). Leo Yuriev 2017-05-24 13:37:06 +03:00
  • 8af6291d50 test: set default db-size to 4M. Leo Yuriev 2017-05-24 02:46:51 +03:00
  • 38deb14ee4 test: fix STDERR_FILENO for MSVC. Leo Yuriev 2017-05-24 02:43:43 +03:00
  • a6c8c1ad08 test: add simple progress indicator. Leo Yuriev 2017-05-24 02:16:25 +03:00
  • 06de7a5155 mdbx: rename the rest MDBX_xyz. Leo Yuriev 2017-05-24 01:42:10 +03:00
  • 62ebc59330 mdbx: rework version info (stub for now). Leo Yuriev 2017-05-24 01:07:15 +03:00
  • 88ea2768f5 mdbx: fix gcc 'comparison is always true' warning. Leo Yuriev 2017-05-23 22:31:07 +03:00
  • 3fa09a9937 test: setup oom-callback for retry. Leo Yuriev 2017-05-23 22:08:18 +03:00
  • 2c43997026 mdbx: change mdbx_env_set_oomfunc() API. Leo Yuriev 2017-05-23 22:07:35 +03:00
  • 132c9c994e mdbx: add mdbx_fastmutex_t. Leo Yuriev 2017-05-23 21:54:06 +03:00
  • 8c18622592 mdbx: rework MDBX_val. Leo Yuriev 2017-05-23 21:05:54 +03:00
  • ac8e987346 mdbx: rework MDBX_txn. Leo Yuriev 2017-05-23 21:36:09 +03:00
  • 34213c554a mdbx: rework MDBX_reader. Leo Yuriev 2017-05-23 21:16:59 +03:00
  • a3ed42b999 mdbx: rework MDBX_page, drop COPY_PGNO. Leo Yuriev 2017-05-23 21:04:23 +03:00
  • 8f2c21e2ba mdbx: rework MDBX_node. Leo Yuriev 2017-05-23 21:02:39 +03:00
  • aa80ef7e71 test: add hill testcase. Leo Yuriev 2017-05-17 20:10:56 +03:00
  • 8828e90ff9 mdbx: mdbx_condmutex_t instead of mutex/condvar pair. Leo Yuriev 2017-05-23 18:40:21 +03:00
  • 2f97939efd mdbx: more cleanup mdbx_midl_sort(). Leo Yuriev 2017-05-23 15:42:14 +03:00
  • eff0f92fa7 mdbx-tools: replace size_t/PRIuPTR with uint64_t/PRIu64. Leo Yuriev 2017-05-23 14:47:49 +03:00
  • 0cd30792bb mdbx: split MDB_ID into pgno_t and txnid_t. Leo Yuriev 2017-05-23 14:49:12 +03:00
  • 5c2042c466 tools: internal minor renames (preparation for changes). Leo Yuriev 2017-05-23 16:46:55 +03:00
  • 8b9e391dd0 mdbx: cleanup internals (mostly formatting, but not only). Leo Yuriev 2017-05-23 14:44:53 +03:00
  • 277bdfb4c4 mdbx: cleanup formatting for mdbx.h Leo Yuriev 2017-05-22 20:02:36 +03:00
  • 398b839b98 mdbx: drops old/obsolete API (mdbx_env_copy and mdbx_env_copydf). Leo Yuriev 2017-05-22 20:02:23 +03:00
  • 0eee938c5f mdbx: add MDBX_EIO. Leo Yuriev 2017-05-22 19:59:16 +03:00
  • 994481e4f4 mdbx: replace size_t with uint64_t/uint32_t in API. Leo Yuriev 2017-05-22 19:57:54 +03:00
  • 0c9832fc28 ci: add TESTDB into Makefile. Leo Yuriev 2017-05-23 14:40:37 +03:00
  • d0793a1daf mdbx: fix MDB_DUPSORT with MDB_CURRENT update bug. Leo Yuriev 2017-05-19 16:20:02 +03:00
  • 82d3595b76 mdbx: add MDBX_EKEYMISMATCH. Leo Yuriev 2017-05-22 14:02:33 +03:00
  • d9eeac45b2 mdbx: fix extra-logging without NDEBUG, but with MDBX_DEBUG=0. Leo Yuriev 2017-05-19 00:31:54 +03:00
  • 0810f4e105 mdbx: fix MDBX_CORRUPED error (nasty copy&paste bug). Leo Yuriev 2017-05-18 22:11:47 +03:00
  • b4fd0500d1 mdbx: more lck-debug. Leo Yuriev 2017-05-18 15:36:53 +03:00
  • d2af39fd73 mdbx: more for without-lck mode (not completed). Leo Yuriev 2017-05-18 15:36:32 +03:00
  • fd8be99282 mdbx: cleanup mdbx_env_init_metas(). Leo Yuriev 2017-05-18 05:04:31 +03:00
  • 818e742c58 mdbx: cleanup mdbx_env_create(). Leo Yuriev 2017-05-18 04:58:02 +03:00
  • 6ee3aebc32 mdbx: use flock() for share/exclusive lck. Leo Yuriev 2017-05-18 14:00:40 +03:00
  • 1431e3e5bf test: fix logging for stupid MSVC. Leo Yuriev 2017-05-18 14:14:59 +03:00
  • 4481555c90 mdbx: refine mdbx_dkey() API. Leo Yuriev 2017-05-17 22:17:24 +03:00
  • c479c5ff15 mdbx: rework mdbx_env_sync(). Leo Yuriev 2017-05-18 02:21:39 +03:00
  • 7a4541f598 mdbx: minor cleanup. Leo Yuriev 2017-05-17 20:09:40 +03:00
  • 00be62e235 mdbx: cleanup formating. Leo Yuriev 2017-05-17 20:06:57 +03:00