Commit Graph

1589 Commits

Author SHA1 Message Date
Leonid Yuriev
83f3d820f1 mdbx-windows: refine debug-logging. 2018-10-08 02:17:27 +03:00
Leo Yuriev
0f82db941b mdbx: add error-logging to mdbx_page_get().
Change-Id: I6a1a95ec6fc73aa7bf28875a89b1dd6c02ef5164
2018-10-08 02:14:12 +03:00
Leonid Yuriev
7a3c8743f3 mdbx: fix use _ASSERTE.
Change-Id: Iba139ddcfc6cbc93b74f3d7387492b6ae6496dcc
2018-10-08 02:14:12 +03:00
Leonid Yuriev
03287b73a1 mdbx-ci: disable CI for old MSVC compilers.
Change-Id: Ia1072745664d9a97d4114149a305a6399bde71aa
2018-10-01 20:03:10 +03:00
Leo Yuriev
025cf0b00e mdbx: minor fix mdbx_updage_gc().
Change-Id: Ie6bc38e86837ab0863c60500dce0c965e447b209
2018-10-01 18:11:24 +03:00
Leonid Yuriev
e819099dec mdbx-rpm: fix version for rpm.
Change-Id: I7049903c02963a0d581328ee5ca23af9a1a8bfc0
2018-09-25 14:26:18 +03:00
moneromooo-monero
2689d0a71f mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS#8857). 2018-09-24 19:34:42 +03:00
Howard Chu
d56c9a881e mdbx-doc: import - GET_MULTIPLE etc don't return the key (ITS#8908).
Unnecessary since these are DUPs, the key will always be the same
2018-09-24 19:31:47 +03:00
Leonid Yuriev
0b870648af mdbx-chk: use txnid as record-number for GC. 2018-09-23 12:04:10 +03:00
Leonid Yuriev
2ff1096c49 mdbx: refine mdbx_update_gc(). 2018-09-23 12:03:45 +03:00
Leonid Yuriev
cd1b9ea1cf mdbx: fix and simplify lifo-cleanup-loop inside update_gc(). 2018-09-21 02:36:35 +03:00
Leonid Yuriev
31810c9957 mdbx-test: drop obsolete failfast cases inside 'gc.sh' script. 2018-09-21 00:18:43 +03:00
Leonid Yuriev
a5cdbda9d8 mdbx-test: store 'log.lz4' on tmpfs. 2018-09-21 00:18:21 +03:00
Leonid Yuriev
b868765ddf mdbx-test: reduce repeats number inside 'gc.sh' script. 2018-09-20 23:39:31 +03:00
Leonid Yuriev
2fc42fab7f mdbx-test: add simple loop.bat for Windows. 2018-09-20 23:39:31 +03:00
Leonid Yuriev
60271687ef mdbx-test: workaround for QueryFullProcessImageNameA() bug.
Change-Id: Icd06d7b15f8bef20a9fb75639a7ab7a298fe0120
2018-09-20 22:47:22 +03:00
Leonid Yuriev
d6c954cd43 mdbx: remove txnid/me_oldest asserts.
The `mc->mc_txn->mt_txnid >= *mc->mc_txn->mt_env->me_oldest` assertion may fail
false-positive, becase me_oldest may be not updated in read-only or exclusive modes.

Change-Id: Iad57a38efa30bc9fe2392ac24657727a7ce1f584
2018-09-20 12:29:53 +03:00
Leonid Yuriev
0b4c957bd5 mdbx: fix mdbx_find_oldest() for exclusive mode.
Change-Id: I41283bcf0bd22797530c74df125bf94cd3e73d00
2018-09-20 00:05:36 +03:00
Leonid Yuriev
e73df34619 mdbx: fix Coverity warnings (minor).
Change-Id: I4fa312f3a943f20e771f5149b2d8ad7c2520bb0e
2018-09-19 22:04:34 +03:00
Leonid Yuriev
f7bd98a4ce mdbx-chk: allow gap for GC's PNL upto one page.
Change-Id: Ie051442947e7588b868cec35ef9374368bf8a1c4
2018-09-19 17:06:56 +03:00
Leonid Yuriev
82c975e174 mdbx: rework/fix cursor tracking inside mdbx_update_gc().
Change-Id: I2c320f63901a011992bc912938bc65084f63636b
2018-09-19 17:06:27 +03:00
Leonid Yuriev
4117c9f111 mdbx: move macros/inlines to fix Windows builds.
Change-Id: I48aaf6b77466bb8b13294b84de73fb6063c88190
2018-09-19 00:24:49 +03:00
Leonid Yuriev
b52e878c4f mdbx-chk: allow gap for GC's PNL upto half of page.
Change-Id: I6d6d68d1124c336f8356435eba02cb66a08c4e9c
2018-09-19 00:07:39 +03:00
Leonid Yuriev
c4e1c2b488 mdbx: refine assections (minor).
Change-Id: Ic924988b8ce043d6106df381c996dd2c8ff9ca1f
2018-09-19 00:07:39 +03:00
Leonid Yuriev
60bba72aa1 mdbx: re-define assert macro via mdbx_assert.
Change-Id: I317801ba4200bdf1aa5cacf75d21a8e633fbc48a
2018-09-19 00:07:39 +03:00
Leonid Yuriev
8e8b40e7a2 mdbx: fix update_gc() assertion.
Change-Id: I433382de0ddab41ad1530ee674ed22f9003c2779
2018-09-19 00:07:39 +03:00
Leonid Yuriev
ab5668cf29 mdbx: add MDBX_FORCE_ASSERT.
Change-Id: I68a9f7b42663ea157c7c0a5a58797c94127b45ed
2018-09-19 00:07:39 +03:00
Leonid Yuriev
d6d03639a2 mdbx: one more fix/refine mdbx_update_gc().
Change-Id: I408db79aafb317ad20e8473edc1bc30c3afb6ea9
2018-09-19 00:07:39 +03:00
Leonid Yuriev
137f443e57 mdbx-test: fix sleep/child-signal handling.
Change-Id: Ibf1ac55b62b5cb3c835a5b1602a204e8eebbd89b
2018-09-17 16:57:26 +03:00
Leonid Yuriev
c6dccdc91a mdbx-test: fix MSVC warnings (minor).
Change-Id: I9c5987bfe6b5df8885a71601ab5f10cc57a7e45e
2018-09-17 16:21:09 +03:00
Leonid Yuriev
c287f88dbd mdbx: fix update_gc() for rare case when no reclaiming was made before.
Change-Id: Ib84da8ad26f9ef538dce2472c9ee89918bf6e25a
2018-09-17 15:25:45 +03:00
Leonid Yuriev
844e39ebef mdbx-test: seeding keygen with actor_id for better spreading. 2018-09-17 15:25:45 +03:00
Leonid Yuriev
01ae5bad7d mdbx-test: add data-check before delete/update.
Change-Id: I5afc1cbd95b5db0b442714229510d6786bf68d43
2018-09-17 15:25:45 +03:00
Leonid Yuriev
68fd9c9908 mdbx: add mdbx_get2() for testing.
Change-Id: Icd0961e464936fa2d24fd3ed87b61de038e955c2
2018-09-17 15:25:45 +03:00
Leonid Yuriev
940138fbda mdbx: rework prefer_max_scatter inside mdbx_update_gc().
Change-Id: I6deceb73f8578d9306528e0204ba0895781057fe
2018-09-17 15:25:45 +03:00
Leonid Yuriev
79633ecfd7 mdbx-test: add int-key/int-data cases to 'gc.sh'.
Change-Id: Idb33be532b623b86ed4e3127d9f1fe8abb24cc6f
2018-09-17 15:25:45 +03:00
Leonid Yuriev
35cf4bb60f mdbx: add validation for DUPSORT flags.
Change-Id: Id1f3325764fb496413d060ea0468394f7e18ae37
2018-09-17 15:25:45 +03:00
Leonid Yuriev
a91eef0c0f mdbx-test: cleanup DUPSORT flags.
Change-Id: Id5845e67bf6b4c40fdfdabe937d42911c8b08f1b
2018-09-17 00:18:39 +03:00
Leonid Yuriev
ff336fa65e mdbx: fix mdbx_replace().
Change-Id: I2af00f101017795ca2b967479f86e5ea7e8ad37b
2018-09-17 00:18:39 +03:00
Leonid Yuriev
5cc4bec7b7 mdbx-test: avoid extra 'jitter' testcase loops.
Change-Id: I50a3a5a03c0baebee81a90155089eeb44448ff4e
2018-09-17 00:18:39 +03:00
Leonid Yuriev
49a3e04d92 mdbx: restore MDBX_SET behaviour.
Change-Id: I1ddab75fdeeff594bf4ccdb14c7ce0415feb28f8
2018-09-17 00:17:13 +03:00
Leonid Yuriev
0a6af9bca0 mdbx-test: switch to 'basic' testcase in 'gc.sh' script.
Change-Id: I2fbd4c5f9d20a4c51af65b0dd67f1182b39ca6ae
2018-09-17 00:17:09 +03:00
Leonid Yuriev
bcbf040f5d mdbx: drop obsolete commented-out mdbx_node_add().
Change-Id: I092469e251991921b19abb72afab19dcfb70f862
2018-09-16 19:13:02 +03:00
Leonid Yuriev
40edf7e323 mdbx: refine mdbx_update_gc(), add extra audit.
Change-Id: I70b5bba977ab6fadfdffed722226ebe02abe252c
2018-09-15 15:19:16 +03:00
Leonid Yuriev
c945359858 mdbx: remove "" from debug-strings.
Change-Id: I27f9052e2d2e318f4386f40f17c321e8cbf005c0
2018-09-15 15:18:15 +03:00
Leo Yuriev
d299a2601d mdbx: add SLAPD_LMDB_LEGACY option. 2018-09-14 16:09:29 +03:00
Leo Yuriev
1fca3d4c93 mdbx: fix add-node-args asserts. 2018-09-14 16:09:20 +03:00
Leo Yuriev
6043181636 mdbx-test: workaroung for MSVC bug. 2018-09-14 15:26:31 +03:00
Leo Yuriev
5a461a84e0 mdbx-ci: add test.db to appveyor artefacts (windows). 2018-09-14 15:11:38 +03:00
Leo Yuriev
bf29182eda mdbx-ci: rename 'test.exe' to 'mdbx_test.exe'. 2018-09-14 14:15:42 +03:00