Commit Graph

  • 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
  • ec114d06b7 test: add log_extra(). Leo Yuriev 2017-05-17 18:49:19 +03:00
  • 677625ead1 mdbx: add MDBX_WANNA_RECOVERY. Leo Yuriev 2017-05-17 20:54:16 +03:00
  • 015a242c89 mdbx: rollback weak checkpoint or MDB_CORRUPTED. Leo Yuriev 2017-05-17 17:23:54 +03:00
  • bfa3e864b6 test: fix logging va_copy() bug. Leo Yuriev 2017-05-17 15:46:44 +03:00
  • 6d7bfeb87a mdbx: add 'pipefail' to makefile's check target. Leo Yuriev 2017-05-17 20:25:16 +03:00
  • ed46246931 mdbx: rework mdbx_dbi_open(). Leo Yuriev 2017-05-15 21:18:52 +03:00
  • 5fdad46cb9 mdbx: add translation by Yandex. Leo Yuriev 2017-05-15 13:03:09 +03:00
  • 00081298d6 mdbx: add mdbx_get_errno_checked(). Leo Yuriev 2017-05-15 12:08:04 +03:00
  • 533e01cc93 mdbx: change mdbx_dbi_close() API. Leo Yuriev 2017-05-10 20:27:30 +03:00
  • e8a430999c mdbx: hush MSVC warnings for atomic stubs. Leo Yuriev 2017-05-10 19:26:56 +03:00
  • 29f01cf3f4 mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z. Leo Yuriev 2017-05-10 19:16:14 +03:00
  • 8848df34bc mdbx: check gcc/clang version for stdatomic.h Leo Yuriev 2017-04-27 18:33:05 +03:00
  • 4e9b734b52 mdbx: fix mdbx_read_header(). Leo Yuriev 2017-04-27 18:06:07 +03:00
  • 82f053a685 mdbx: more debug for lck-seize. Leo Yuriev 2017-04-27 18:14:19 +03:00
  • 678e4f5738 mdbx: more check/debug around mdbx_pread() and mdbx_read_header(). Leo Yuriev 2017-04-27 18:13:39 +03:00
  • f8903ca7c7 mdbx: minor refine/speedup mdbx_cursor_put(). Leo Yuriev 2017-04-27 18:06:41 +03:00
  • 150f2c0afc test: log error into stdout too. Leo Yuriev 2017-04-27 16:22:57 +03:00
  • 4b2cb66453 mdbx: use mdbx_jitter4testing() for race detection. Leo Yuriev 2017-04-27 15:51:58 +03:00
  • 7204c46421 mdbx: add mdbx_osal_jitter() and mdbx_jitter4testing(). Leo Yuriev 2017-04-27 15:18:33 +03:00
  • 40dee6f05f mdbx: rework mdbx_read_header(). Leo Yuriev 2017-04-27 15:17:30 +03:00
  • 7a5decc779 ci: add circle.yml Leo Yuriev 2017-04-27 02:11:21 +03:00
  • baf0fad11d mdbx: fix snap-state bug (backport). Leo Yuriev 2017-04-27 01:50:19 +03:00
  • fd078ee163 mdbx: check for txnid overflow (paranoia). Leo Yuriev 2017-04-27 01:27:41 +03:00
  • 9e07b71c27 mdbx: fix snap-state bug. Leo Yuriev 2017-04-27 01:26:33 +03:00
  • d5b5434fa6 test: reduce short jitter-delay to 1ms. Leonid Yuriev 2017-04-27 00:20:48 +03:00
  • 939285bef2 mdbx: add atomics-ops for assertions. Leo Yuriev 2017-04-26 18:14:49 +03:00
  • 7ec571c9a0 mdbx: partial cleanup/reformat comments. Leo Yuriev 2017-04-26 18:12:48 +03:00
  • 333e5fada3 mdbx: internal cleanup (rename, etc). Leo Yuriev 2017-04-26 18:13:48 +03:00
  • 953c6962ea test: minor typo fix. Leo Yuriev 2017-04-26 18:15:09 +03:00
  • 99002d016f mdbx: add yielding for lck-testing for Windows if NDEBUG undefined. Leo Yuriev 2017-04-26 14:17:52 +03:00
  • 9a2806c6a8 test: add failfast option. Leo Yuriev 2017-04-25 20:02:28 +03:00
  • 5ed0ccfcbb mdbx: rework mdbx_pread(). Leo Yuriev 2017-04-25 19:58:00 +03:00
  • aa59522dbe mdbx: minor refine open-path. Leo Yuriev 2017-04-25 19:51:23 +03:00
  • 326dea8bc1 mdbx: use FormatMessage() for Windows. Leo Yuriev 2017-04-25 19:17:57 +03:00
  • f91218bda4 ci: Push-AppveyorArtifact on failure. Leo Yuriev 2017-04-25 18:30:31 +03:00
  • 99abf56c6c test: fix now_realtime() for Windows. Leo Yuriev 2017-04-25 16:09:02 +03:00
  • 925064aa11 test: add us-timestamp to logs. Leo Yuriev 2017-04-25 15:00:36 +03:00
  • e7e8e1c59a test: refine reciprocal division (chrono). Leonid Yuriev 2017-04-25 00:26:11 +03:00
  • 993730d2f1 mdbx: more cleanup for Windows. Leo Yuriev 2017-04-24 19:37:01 +03:00
  • 66d842c23b ci: provide test.log Leo Yuriev 2017-04-24 19:03:38 +03:00
  • e98a1e5319 mdbx: move MDBX_LOCK_SUFFIX to API defs. Leo Yuriev 2017-04-24 17:52:56 +03:00
  • 1b26de1f44 ci: rename appveyor.yml Leo Yuriev 2017-04-24 16:35:02 +03:00
  • 0d59cd4fe2 mdbx: rework lck/body setup. Leo Yuriev 2017-04-24 15:51:21 +03:00
  • 19d877635c mdbx: alter db-file extensions. Leo Yuriev 2017-04-24 15:50:43 +03:00
  • 2e54210e79 mdbx: add mdbx_osal.h with platform-like err codes. Leo Yuriev 2017-04-24 15:45:20 +03:00
  • f7507110ef mdbx: alter mdbx_txn_id() API. Leo Yuriev 2017-04-24 14:13:52 +03:00
  • 297190e308 ci: add circle.yml Leo Yuriev 2017-04-23 21:44:27 +03:00
  • 522d0aa498 ci: fix appveyor.yml test params. Leo Yuriev 2017-04-23 21:39:10 +03:00
  • 32937ac63b test: canary fetch/update for jitter testcase. Leo Yuriev 2017-04-23 19:00:28 +03:00
  • ce9c4acea6 mdbx: fix mdbg_canary_put(). Leo Yuriev 2017-04-23 18:59:16 +03:00
  • 1bddc9dcbc mdbx: change mdbx_canary_get() API. Leo Yuriev 2017-04-23 18:58:38 +03:00
  • 11ac6a02ff mdbx: rework posix-lck. Leo Yuriev 2017-04-23 13:52:53 +03:00
  • 6b4f92b22e mdbx: rework windows-clk. Leo Yuriev 2017-04-23 12:57:27 +03:00
  • 1596bceff2 mdbx: rework mdbx_env_setup_locks()'s tasks. Leo Yuriev 2017-04-23 12:56:34 +03:00
  • a0f1d61a4a test: fixup for Windows. Leo Yuriev 2017-04-23 12:55:45 +03:00
  • c4846c8141 test: failfast option. Leo Yuriev 2017-04-23 12:54:37 +03:00
  • cd37b81cc5 mdbx: refine mdbx_txn_renew0(). Leo Yuriev 2017-04-21 18:19:56 +03:00
  • 8bed6a5c89 mdbx: fix mdbx_rthc_remove(). Leo Yuriev 2017-04-21 18:19:21 +03:00
  • 55226499a8 mdbx: rework reader_check0() and mutex recovery. Leo Yuriev 2017-04-21 16:02:27 +03:00
  • 41c51fdac2 mdbx: refine debug macros/levels (initial). Leo Yuriev 2017-04-21 16:00:43 +03:00
  • c1ad75d810 mdbx: check env-flags while opening live db. Leo Yuriev 2017-04-21 19:00:33 +03:00
  • 36f1491ba8 mdbx: cleanup mdbx_mutex_failed(). Leo Yuriev 2017-04-21 19:00:07 +03:00
  • ebb404e5bc mdbx: remove tsan_mutex. Leo Yuriev 2017-04-21 18:59:32 +03:00
  • 585496339a mdbx: kill/remove mm_txnid. Leo Yuriev 2017-04-21 18:57:34 +03:00
  • f3e31a74ee test: jitter testcase (squashed major refine). Leo Yuriev 2017-04-21 18:41:11 +03:00
  • 101e015d2c test: more for logging. Leo Yuriev 2017-04-21 18:34:43 +03:00
  • 2523170806 test: add rnd and delay tools. Leo Yuriev 2017-04-21 18:33:35 +03:00
  • 99dd373215 mdbx: fix/refine mdbx_txn_end() and mdbx_txn_renew0(). Leo Yuriev 2017-04-21 18:27:40 +03:00
  • c2087f186e mdbx: fix/rework mdbx_reader_check(). Leo Yuriev 2017-04-21 18:26:32 +03:00
  • 1b490fda24 mdbx: add mdbx_dbi_sequence(). Leo Yuriev 2017-04-17 21:19:48 +03:00
  • dfc3020426 mdbx: fix mdbx_canary_put(). Leo Yuriev 2017-04-17 19:35:36 +03:00
  • a4a542c3b5 mdbx: fix nasty typo in Windows's mdbx_pwritev(). Leonid Yuriev 2017-04-15 22:44:48 +03:00
  • 49cccf4791 mdbx: Update README.md Leonid Yuriev 2017-04-11 22:24:31 +03:00
  • 4fb2bd3a07 mdbx: refine Makefile. Leo Yuriev 2017-04-11 14:37:25 +03:00
  • 8b42b8bfd4 test: add chrono. Leo Yuriev 2017-04-11 19:00:26 +03:00
  • 2a80ad67fb test: refine logging. Leo Yuriev 2017-04-11 12:55:16 +03:00
  • 270b367a4f mdbx: cleanup travis.yml Leo Yuriev 2017-04-11 02:42:09 +03:00
  • cbb2abe5a8 mdbx: fix MCVS x86 platform. Leo Yuriev 2017-04-11 02:35:10 +03:00
  • 38a6781321 test: setup debug-loger for libmdbx. Leo Yuriev 2017-04-11 02:20:35 +03:00
  • 8167a08431 test: use stderr for error only. Leo Yuriev 2017-04-11 00:26:08 +03:00
  • 4c97997602 test: fix typo in test's skeleton. Leo Yuriev 2017-04-11 00:21:53 +03:00
  • 2f058bf82b mdbx: fix MSVC dirs (minor). Leo Yuriev 2017-04-10 23:34:59 +03:00