Commit Graph

572 Commits

Author SHA1 Message Date
Leo Yuriev
533e01cc93 mdbx: change mdbx_dbi_close() API. 2017-05-11 10:08:22 +03:00
Leo Yuriev
e8a430999c mdbx: hush MSVC warnings for atomic stubs. 2017-05-11 10:08:22 +03:00
Leo Yuriev
29f01cf3f4 mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z. 2017-05-10 19:16:23 +03:00
Leo Yuriev
8848df34bc mdbx: check gcc/clang version for stdatomic.h 2017-04-27 18:46:11 +03:00
Leo Yuriev
4e9b734b52 mdbx: fix mdbx_read_header(). 2017-04-27 18:15:12 +03:00
Leo Yuriev
82f053a685 mdbx: more debug for lck-seize. 2017-04-27 18:15:12 +03:00
Leo Yuriev
678e4f5738 mdbx: more check/debug around mdbx_pread() and mdbx_read_header(). 2017-04-27 18:15:12 +03:00
Leo Yuriev
f8903ca7c7 mdbx: minor refine/speedup mdbx_cursor_put(). 2017-04-27 18:07:58 +03:00
Leo Yuriev
150f2c0afc test: log error into stdout too. 2017-04-27 17:51:11 +03:00
Leo Yuriev
4b2cb66453 mdbx: use mdbx_jitter4testing() for race detection. 2017-04-27 15:52:52 +03:00
Leo Yuriev
7204c46421 mdbx: add mdbx_osal_jitter() and mdbx_jitter4testing(). 2017-04-27 15:52:52 +03:00
Leo Yuriev
40dee6f05f mdbx: rework mdbx_read_header(). 2017-04-27 15:52:52 +03:00
Leo Yuriev
fd078ee163 mdbx: check for txnid overflow (paranoia).
Change-Id: Id7cd62abf8605150ff5491fb1129383e3e748603
2017-04-27 01:37:42 +03:00
Leo Yuriev
9e07b71c27 mdbx: fix snap-state bug.
Change-Id: I8700209ab012bfef21c88fe06c39b80a640291c6
2017-04-27 01:37:42 +03:00
Leonid Yuriev
d5b5434fa6 test: reduce short jitter-delay to 1ms.
Change-Id: I0fac7518dd23d7345c3344e5d5883661a7cbce19
2017-04-27 01:37:42 +03:00
Leo Yuriev
939285bef2 mdbx: add atomics-ops for assertions. 2017-04-27 01:37:42 +03:00
Leo Yuriev
7ec571c9a0 mdbx: partial cleanup/reformat comments.
Change-Id: Ia96a5b307dc065b4d1920234c3cce93a0e585876
2017-04-27 01:36:31 +03:00
Leo Yuriev
333e5fada3 mdbx: internal cleanup (rename, etc). 2017-04-26 19:11:34 +03:00
Leo Yuriev
953c6962ea test: minor typo fix. 2017-04-26 19:11:34 +03:00
Leo Yuriev
99002d016f mdbx: add yielding for lck-testing for Windows if NDEBUG undefined. 2017-04-26 14:17:52 +03:00
Leo Yuriev
9a2806c6a8 test: add failfast option. 2017-04-25 20:02:28 +03:00
Leo Yuriev
5ed0ccfcbb mdbx: rework mdbx_pread(). 2017-04-25 19:59:00 +03:00
Leo Yuriev
aa59522dbe mdbx: minor refine open-path. 2017-04-25 19:51:23 +03:00
Leo Yuriev
326dea8bc1 mdbx: use FormatMessage() for Windows. 2017-04-25 19:17:57 +03:00
Leo Yuriev
f91218bda4 ci: Push-AppveyorArtifact on failure. 2017-04-25 18:30:31 +03:00
Leo Yuriev
99abf56c6c test: fix now_realtime() for Windows. 2017-04-25 16:09:02 +03:00
Leo Yuriev
925064aa11 test: add us-timestamp to logs. 2017-04-25 16:08:33 +03:00
Leonid Yuriev
e7e8e1c59a test: refine reciprocal division (chrono). 2017-04-25 13:48:08 +03:00
Leo Yuriev
993730d2f1 mdbx: more cleanup for Windows. 2017-04-24 21:14:36 +03:00
Leo Yuriev
66d842c23b ci: provide test.log 2017-04-24 21:14:24 +03:00
Leo Yuriev
e98a1e5319 mdbx: move MDBX_LOCK_SUFFIX to API defs. 2017-04-24 17:52:56 +03:00
Leo Yuriev
1b26de1f44 ci: rename appveyor.yml 2017-04-24 16:35:04 +03:00
Leo Yuriev
0d59cd4fe2 mdbx: rework lck/body setup. 2017-04-24 16:15:01 +03:00
Leo Yuriev
19d877635c mdbx: alter db-file extensions. 2017-04-24 16:15:01 +03:00
Leo Yuriev
2e54210e79 mdbx: add mdbx_osal.h with platform-like err codes. 2017-04-24 16:15:01 +03:00
Leo Yuriev
f7507110ef mdbx: alter mdbx_txn_id() API. 2017-04-24 16:15:01 +03:00
Leo Yuriev
297190e308 ci: add circle.yml
Change-Id: I233899fd5ee83fd0a088f2752015ccfb61ec86c0
2017-04-23 21:44:27 +03:00
Leo Yuriev
522d0aa498 ci: fix appveyor.yml test params.
Change-Id: I68bb64bd75468b0afd600893de2fe6bb16cd34ca
2017-04-23 21:39:10 +03:00
Leo Yuriev
32937ac63b test: canary fetch/update for jitter testcase.
Change-Id: I8402328f880addb1170e8e778b64aa4f12d18718
2017-04-23 19:16:22 +03:00
Leo Yuriev
ce9c4acea6 mdbx: fix mdbg_canary_put().
Change-Id: I36917a686b28405ed7ecd07dbeb1b4d517720410
2017-04-23 19:16:22 +03:00
Leo Yuriev
1bddc9dcbc mdbx: change mdbx_canary_get() API.
Change-Id: Ie8831d8acb7113916b8a44b870596a9bf1ccc8b2
2017-04-23 19:16:22 +03:00
Leo Yuriev
11ac6a02ff mdbx: rework posix-lck.
Change-Id: Icdd61731424b0d591fd28da0468b9623d079c94a
2017-04-23 19:16:22 +03:00
Leo Yuriev
6b4f92b22e mdbx: rework windows-clk.
Change-Id: Ie0f8422a39879c9d5e6b4697c7e90fe67076b021
2017-04-23 19:16:22 +03:00
Leo Yuriev
1596bceff2 mdbx: rework mdbx_env_setup_locks()'s tasks.
Change-Id: I79953554a0b2cce8235ec5dbc83f183cb3fd56a0
2017-04-23 19:16:22 +03:00
Leo Yuriev
a0f1d61a4a test: fixup for Windows.
Change-Id: I13468caf53988d9599235d1423603146abf9eb46
2017-04-23 19:16:22 +03:00
Leo Yuriev
c4846c8141 test: failfast option.
Change-Id: I42d1bdb9c20c9b96cfa41304bd025b09fab20518
2017-04-23 19:16:22 +03:00
Leo Yuriev
cd37b81cc5 mdbx: refine mdbx_txn_renew0(). 2017-04-23 19:16:22 +03:00
Leo Yuriev
8bed6a5c89 mdbx: fix mdbx_rthc_remove(). 2017-04-23 19:16:22 +03:00
Leo Yuriev
55226499a8 mdbx: rework reader_check0() and mutex recovery. 2017-04-23 19:16:22 +03:00
Leo Yuriev
41c51fdac2 mdbx: refine debug macros/levels (initial). 2017-04-23 19:16:22 +03:00