Commit Graph

560 Commits

Author SHA1 Message Date
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
Leo Yuriev
c1ad75d810 mdbx: check env-flags while opening live db. 2017-04-23 19:16:22 +03:00
Leo Yuriev
36f1491ba8 mdbx: cleanup mdbx_mutex_failed(). 2017-04-23 19:16:22 +03:00
Leo Yuriev
ebb404e5bc mdbx: remove tsan_mutex. 2017-04-23 19:16:22 +03:00
Leo Yuriev
585496339a mdbx: kill/remove mm_txnid. 2017-04-23 19:16:22 +03:00
Leo Yuriev
f3e31a74ee test: jitter testcase (squashed major refine). 2017-04-23 19:16:21 +03:00
Leo Yuriev
101e015d2c test: more for logging. 2017-04-23 19:16:21 +03:00
Leo Yuriev
2523170806 test: add rnd and delay tools. 2017-04-23 19:16:21 +03:00
Leo Yuriev
99dd373215 mdbx: fix/refine mdbx_txn_end() and mdbx_txn_renew0(). 2017-04-23 19:16:21 +03:00
Leo Yuriev
c2087f186e mdbx: fix/rework mdbx_reader_check(). 2017-04-23 19:16:21 +03:00
Leo Yuriev
1b490fda24 mdbx: add mdbx_dbi_sequence(). 2017-04-17 21:38:33 +03:00
Leo Yuriev
dfc3020426 mdbx: fix mdbx_canary_put(). 2017-04-17 21:38:25 +03:00
Leonid Yuriev
a4a542c3b5 mdbx: fix nasty typo in Windows's mdbx_pwritev(). 2017-04-15 22:45:56 +03:00