Leonid Yuriev
|
67b99eadbd
|
mdbx-make: workaround for BSD's sed limitations.
Resolves https://github.com/erthink/libmdbx/issues/156
Related to https://github.com/erthink/libmdbx/issues/155
Change-Id: I68da3f40b055da08a905525a4a31b44018d419b0
|
2021-01-24 03:57:04 +03:00 |
|
Leonid Yuriev
|
95ae324580
|
mdbx: fix reclaimed-list allocation during nested txn start.
Change-Id: Ia70e01ed69a001249ce14b4930452a469d04b824
|
2021-01-24 00:49:46 +03:00 |
|
Leonid Yuriev
|
4e13d1239a
|
mdbx: 'runtime options' feature release.
Resolve https://github.com/erthink/libmdbx/issues/128
Change-Id: I67411f623ecb917d3be1cdc6aa78b879d8e68b4c
|
2021-01-23 01:13:20 +03:00 |
|
Leonid Yuriev
|
4ae2a107bf
|
mdbx: add MDBX_opt_loose_limit runtime option.
More for https://github.com/erthink/libmdbx/issues/128
Change-Id: I298bf1eef24575df72615ee07e93f5073405e8e0
|
2021-01-22 23:52:03 +03:00 |
|
Leonid Yuriev
|
dc34041600
|
mdbx: alter defaults for MDBX_opt_rp_augment_limit and MDBX_opt_txn_dp_limit runtime options.
Change-Id: I08cdbfb18089a3fed4b32d931ca4423027a9939f
|
2021-01-22 23:16:21 +03:00 |
|
Leonid Yuriev
|
b1a2892038
|
mdbx: fix minor Coverity warnings.
Change-Id: I0c5d23a36120b8d697887462a6ae86d66a435c3d
|
2021-01-22 20:13:31 +03:00 |
|
Leonid Yuriev
|
b82d1d5063
|
mdbx: add MDBX_opt_spill_parent4child_denominator runtime option.
More for https://github.com/erthink/libmdbx/issues/128
Change-Id: If1549c3855eb59c107eb115e6dbca515e81644f9
|
2021-01-22 18:18:52 +03:00 |
|
Leonid Yuriev
|
56aaad03bc
|
mdbx: add MDBX_opt_spill_max_denominator and MDBX_opt_spill_min_denominator runtime options.
More for https://github.com/erthink/libmdbx/issues/128
Change-Id: I6b1b00e30ac11e9c2e3d3d3a29cc73079b41d539
|
2021-01-22 17:25:44 +03:00 |
|
Leonid Yuriev
|
0166071ec9
|
mdbx-make: check building amalgamated sources during make dist .
Related to https://github.com/erthink/libmdbx/issues/155
Change-Id: I45a4f6d3d62052d091c18eae634bbe418829761e
|
2021-01-22 14:17:53 +03:00 |
|
Leonid Yuriev
|
e0d4eaf819
|
mdbx: minor refine mdbx_txn_merge() .
|
2021-01-21 22:45:34 +03:00 |
|
Leonid Yuriev
|
0861a0652b
|
mdbx: update ChangeLog.
Change-Id: I22490e504e503661dff13e6ca4abc75ac5ebc7b6
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
1d58ad6d9b
|
mdbx: fix Valgrind/ASAN controls.
Change-Id: Idf526cbdb8ce8e43600efebbd1d12a8306a58184
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
e1a022be27
|
mdbx-tests: more wilcards for Valgrind's suppressions.
Change-Id: I1fbc1f5c38dd71d5937b8d0df813b05fdf1a6c43
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
58e4eda1c6
|
mdbx: fix spilled page list memleak.
Change-Id: I8b3b3664711943b0809be7bcc6580aafd4e4c286
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
d26ae6875b
|
mdbx: fix assertion to avoid false-positive UB detection by CLANG/LLVM.
Assume this resolve https://github.com/erthink/libmdbx/issues/153
Change-Id: I02ceba1063a338b6dedf17629b51b3466358b0b8
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
afe93137fc
|
mdbx: fix minor assertions.
Change-Id: Ib3e2dcb2cb419f41717351b2ac2264ffed906014
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
bed14e60c2
|
mdbx-cmake: add -fsanitize-undefined-trap-on-error to compile flags and ENABLE_UBSAN to config.h .
Change-Id: Ic18c0d59ccf32f9783a44de456893fbc8a0a7d32
|
2021-01-21 22:45:23 +03:00 |
|
Leonid Yuriev
|
c816797879
|
mdbx-cmake: minor/cosmetics unify quoting for add_compile_flags() .
Change-Id: Idad9dccaedb71be42adb4366a7a995ccf7ab8db8
|
2021-01-20 23:34:30 +03:00 |
|
Leonid Yuriev
|
730b9ea3fd
|
mdbx: add MDBX_PNL_ASCENDING build option and dependency for MDBX_DATA_MAGIC .
Change-Id: I55283240b1dbbbc093927be5eaa5d42b87294f72
|
2021-01-20 23:31:14 +03:00 |
|
Leonid Yuriev
|
6bd0277020
|
mdbx: minor fix mdbx_cursor_close() .
Avoids reference to txn which could be already freed.
Change-Id: I4e1fadd9786ced1533bb8468d30e013455601228
|
2021-01-20 09:55:11 +03:00 |
|
Leonid Yuriev
|
7d09de489d
|
mdbx: fix minor MSVC warnings.
Change-Id: I633b8847698dca25b6c395216744e157f6fb240d
|
2021-01-20 09:55:11 +03:00 |
|
Leonid Yuriev
|
0d09c2cda9
|
mdbx: avoid overflow for dirty & leftover space inside mdbx_txn_info() .
Change-Id: I36f4d62881e68f1bfe0d11fde2e849cdf1408ed2
|
2021-01-20 02:07:44 +03:00 |
|
Leonid Yuriev
|
42670aa64a
|
mdbx: fix MSVC warnings aroung size_t and unsigned conversion.
Change-Id: I32bd3ee4fe02ac62cc121f33b2f84bf63c81cb75
|
2021-01-20 01:39:21 +03:00 |
|
Leonid Yuriev
|
6d7daf6401
|
mdbx: fix audit for complex nested txn cases.
Change-Id: I2419cbe0e8d3167e77ac99f397b97edb22717833
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
f28da7c9e3
|
mdbx: rework spilling, page-lists, commit & abort for nested transactions, etc (squashed).
Change-Id: I09e4744586342aeae4efcfb71f41a3248ee47758
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
7bae2a7cd2
|
mdbx: provide MDBX_ENABLE_REFUND build option.
Change-Id: I0e4c94a22f3b0957176431709604a7595f85252a
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
7183f62e13
|
mdbx: rework DBI_DIRTY and MDBX_TXN_DIRTY propagation.
Change-Id: Ief12ee320ce7c7142632bd1142d847aac314db0b
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
4afc30c79f
|
mdbx: rework mdbx_page_alloc() .
Change-Id: I5c6e2ef23abf79096dd699f9dfbecf97bfc4fe37
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
764dab90fc
|
mdbx-tests: set MALLOC_CHECK environment varilables.
Change-Id: Ic5d2a4b5c69d05111051432996f5382bb73caba1
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
c6a8f0f9af
|
mdbx-tools: minor refine mdbx_chk error output.
Change-Id: I4692a46c3e007fa2910ef67ec7fe21c7285e92eb
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
966d7027a3
|
mdbx: minor fix bad_page() debug output.
Change-Id: I14531fdceaad054ad8c45bf9042fee73de1f9a36
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
dfc92d9f96
|
mdbx: minor fix mdbx_page_new() debug output.
Change-Id: If60f972cc3271ca91feea923fb4f4be48d488b22
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
ac0f4e14a8
|
mdbx: minor fix mdbx_page_new() debug output.
Change-Id: I2f386ec6276cab404607b5c3a79d8028d73dad62
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
ca597f4314
|
mdbx: fix mdbx_page_flush() for possibility of memleack.
Change-Id: Ieab0c98fcd1020d49cce73234125ceb11a8f0b64
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
c1fef9b51d
|
mdbx: fix mdbx_update_gc() for retired page list change case.
Change-Id: Ic454262edcda8881182a15d6a521b90990e5551d
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
b8bb4b4cc4
|
mdbx: fix propagation child txn DBI-state to parent.
Change-Id: I7d92fa99131a937af1a1a75b38af57bc6787ab37
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
4425fb0b83
|
mdbx: minor refine flags-reset inside mdbx_page_flush() .
This produces little bit less code for most architectures.
Change-Id: I0440ec7b465ae2f12a8b09b0226f2c42bc52f7de
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
5bb254e629
|
mdbx: allow fastpath-commit for pure nested txns with parent-spilled pages.
Change-Id: I471fd5e057c323e3701158761631e0a9999bf54a
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
8fce97dca9
|
mdbx: fix mdbx_cursors_eot() .
Change-Id: I6021ff019f25110db96f9ef351d31a1f48b76c18
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
f6ff075335
|
mdbx: rework/speedup spill-pages list.
Change-Id: I97e63f8d4c82ae682e898e9b04edceb0b01d82a5
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
d64b81c673
|
mdbx: remove senseless assertions from mdbx_refund_loose() .
Change-Id: I028ae6bafb9358b61287fc0201c246baf160ca03
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
0ab263b329
|
mdbx: purge deleted spilled pagenums on refund.
Change-Id: I325fbad82cbecb71c35dd1edd1a2abccb8108541
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
7bf147d8c2
|
mdbx: fix assertion inside mdbx_txn_commit_ex() for nested spilled txn.
Change-Id: I54b37ea1b9591bdec9d8bd16d0f57280a1f9ee77
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
6ef7b2f588
|
mdbx: fix assertion inside mdbx_txn_begin_ex() for nested txn with spilled parent.
Change-Id: Ie1f3cd3df6beb296a7bbdc72b39c1c4cb9105083
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
51ec5c442b
|
mdbx-make: fix missing .gz suffix when check target called from stochastic script.
Change-Id: I32892df03d59848737677f59d50e94a1a98301ad
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
f0d79df9b9
|
mdbx: fix mdbx_page_flush() .
Change-Id: I467c2367f2e99ae50996d0859ae22f70c9649a2d
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
05958a708e
|
mdbx: fix minor/potential mem-page leak inside mdbx_page_unspill() .
Change-Id: I4398a4d81eda494e4de9d62d81e3936c6357b744
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
21fbc36311
|
mdbx: minor refine mdbx_page_retire() .
Change-Id: I29d20ed47f56e17dde8c9417bfa1ec95302c1966
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
cea29fe485
|
mdbx: fix assertion inside mdbx_page_retire() .
Change-Id: I5d8f92b9fde1c961252757ea508403b5f51e7646
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
fe386a66df
|
mdbx: minor refine mdbx_page_unspill() .
Change-Id: I20bbd4c502a2258b945996fa1cf761eab7f88a80
|
2021-01-19 23:53:16 +03:00 |
|