Leonid Yuriev
|
13d68a1200
|
mdbx: rework & clarify backlog for gc-update.
Change-Id: I31f2b6919810b894e69af34bfee9a5b7f5a513fc
|
2019-12-19 01:09:54 +03:00 |
|
Leonid Yuriev
|
b6a00a881e
|
mdbx: refine page_get().
Change-Id: I7399782f891d3c6baebedb918f8beffc509e66df
|
2019-12-18 03:06:07 +03:00 |
|
Leonid Yuriev
|
996b0fa8d3
|
mdbx: add/remove __hot attribute for internals.
Change-Id: Ia2aa7b81cb3f7342aece720b3cf0bd04f6d8ca64
|
2019-12-18 03:04:50 +03:00 |
|
Leonid Yuriev
|
83a11c1645
|
mdbx: more __restrict for pointers.
Change-Id: Ic58bf084f0e80f16aa695cddf3dd2c5627f8a836
|
2019-12-18 03:03:38 +03:00 |
|
Leonid Yuriev
|
66ca7a519e
|
mdbx: rework MDBX_DBG_DUMP to avoid performance degradation.
Change-Id: I556ae61e03fdf7d6798072bbc2583ae5d01cbf9f
|
2019-12-17 18:02:13 +03:00 |
|
Leonid Yuriev
|
4eccf901ea
|
mdbx: rename MDBX_NOSYNC to MDBX_SAFE_NOSYNC for clarity.
Change-Id: I1d04600832cb7c86c578d72f3d6163ee22d134b7
|
2019-12-15 15:17:24 +03:00 |
|
Leonid Yuriev
|
a77921dc67
|
mdbx: more __always_inline as workaround for wrong non-inlining of functions.
Change-Id: Id4f44de7a883f2d5fbc00e4c3ed915a8c4f07bfe
|
2019-12-15 00:57:03 +03:00 |
|
Leonid Yuriev
|
bf6d09a878
|
mdbx-windows: use manual-reset events to avoid non-atomic races.
Change-Id: I93b9f114c7c1a205dba18dcc363cf4ba8a27d7e0
|
2019-12-09 10:59:57 +03:00 |
|
Leonid Yuriev
|
60f4134841
|
mdbx: disable by-default workaround for obsolete E2K bug.
Change-Id: I9d6aaf0154e3c9f03dab7948575f4792a13dc988
|
2019-12-08 14:56:56 +03:00 |
|
Leonid Yuriev
|
ab5f3bc444
|
mdbx: remove extra MDBX_SYNC_IODQ.
|
2019-12-05 00:23:56 +03:00 |
|
Leonid Yuriev
|
84323a8a4c
|
mdbx: minor workaround for LCC 1.23.19 (E2K) bug.
Change-Id: Ia575f8759b037832e268ac1e7d437ed92fa2d5e8
|
2019-12-04 17:07:32 +03:00 |
|
Leonid Yuriev
|
5cb7989e8d
|
mdbx: fix Valgrind issue (minor).
Change-Id: Ia651a29a0eac7a1279dd7cb30b3247a1f41ab37e
|
2019-12-03 15:45:24 +03:00 |
|
Leonid Yuriev
|
398b90fb1c
|
mdbx: fix Coverity warnings (minor).
Change-Id: I15c6c707cdeef55c9ce82fe7d5ed0d86224391f5
|
2019-12-03 15:16:23 +03:00 |
|
Leonid Yuriev
|
116a6a8cfe
|
mdbx: don't create steady-checkpoint for db-shrink in utterly-unsync mode without prev steady-points.
Change-Id: I1ec0d6cb9c31af0d151964d06d390ec247c2ac41
|
2019-12-02 21:08:49 +03:00 |
|
Leonid Yuriev
|
8b4be26ca1
|
mdbx: rework gc-backlog preparation.
Change-Id: I003d7995116a25c2bfdd32b663d4e605a796c17d
|
2019-12-02 21:08:49 +03:00 |
|
Leonid Yuriev
|
ed986ecbb5
|
mdbx: remove creation obsolete legacy checkpoints.
Change-Id: I2d88b5ef4853d9379188fc450e87e11b28754c75
|
2019-12-01 23:39:07 +03:00 |
|
Leonid Yuriev
|
2b5eec2295
|
mdbx: drop internal MDBX_ALLOC_KICK.
Change-Id: I819277765992c20ea4076043d5b5470f3ca4e827
|
2019-12-01 23:39:07 +03:00 |
|
Leonid Yuriev
|
90b69aaac2
|
mdbx: rework auto-sync & wipe-steady from reclaiming.
Change-Id: Id0c298ebfaabafc2e5d4031368bee5a3b6c33dab
|
2019-12-01 23:39:07 +03:00 |
|
Leonid Yuriev
|
ed9d1a1542
|
mdbx-tools: cleanup tools from deprecated API.
Change-Id: Id1c64edfa7a470ad76f0499d1f58ec482458f8d6
|
2019-11-30 01:29:48 +03:00 |
|
Leonid Yuriev
|
d80654fa07
|
mdbx: rework max key-length and limit API.
Change-Id: I3d783f69d4ea438d8a8a0505fa9163715fbdcf9c
|
2019-11-30 01:29:48 +03:00 |
|
Leonid Yuriev
|
c00f484813
|
mdbx: fix nested txn.
Change-Id: Iff752d23a880ed4f5322145446be9c989b837479
|
2019-11-26 15:27:45 +03:00 |
|
Leonid Yuriev
|
acde45ff3a
|
mdbx: pre-sync range before mresize().
Change-Id: Id205394cf488b5a954ec021af7f2924a549c9a0e
|
2019-11-18 16:29:47 +03:00 |
|
Leonid Yuriev
|
4af2deb8cd
|
mdbx: drop obsolete assertion & refine related code.
Fixes https://github.com/leo-yuriev/libmdbx/issues/69
Change-Id: Iedf988e9788acb250493032bf55f5c75784652cc
|
2019-11-18 16:29:30 +03:00 |
|
Leonid Yuriev
|
d390300e60
|
mdbx: fix lck-file mode-flag while opening existent DB.
Change-Id: I3b8d446f6a620e911c0d5e325d8d912f2ca19d93
|
2019-11-18 00:02:37 +03:00 |
|
Leonid Yuriev
|
d20b9d9ed7
|
mdbx: move boot-id from LCK to meta.
Change-Id: I7a371feb1a2c43e3606c516fe7b4c7d7a4ff6e73
|
2019-11-18 00:02:37 +03:00 |
|
Leonid Yuriev
|
7ef61e12c0
|
mdbx: refine update_gc() for large-transaction cases.
|
2019-11-17 23:57:03 +03:00 |
|
Leonid Yuriev
|
c250500afd
|
mdbx: performs long assertion-loops only when audit enabled.
|
2019-11-17 23:57:02 +03:00 |
|
Leonid Yuriev
|
af6aa30c7c
|
mdbx: don't sync-on-close deleted files.
Change-Id: Ie9358dfd79c9c5b26777e690079b3f081f0a7158
|
2019-11-16 00:23:03 +03:00 |
|
Leonid Yuriev
|
84ae40172e
|
mdbx: refine/fix madvise(MADV_DONTDUMP).
Change-Id: I3cb56d5d704a60c17da9ae2a276587cf495ce30c
|
2019-11-16 00:23:03 +03:00 |
|
Leonid Yuriev
|
42d9e06598
|
mdbx: add MDBX_ACCEDE environment opening flag.
Change-Id: If0a08d6fce127f35ff2992988715b7dc1fdb70a9
|
2019-11-16 00:23:03 +03:00 |
|
Leonid Yuriev
|
cb8fac6f5f
|
mdbx: prohibit non-WRITEMAP modes under OpenBSD.
Temporary `workaround` for OpenBSD kernel's bug.
See https://github.com/leo-yuriev/libmdbx/issues/67
|
2019-11-14 15:12:19 +03:00 |
|
Leonid Yuriev
|
f0c6292fa3
|
mdbx: ignore ENOSYS/ENOTSUP from madvice()/posix_madvise()/posix_fadvise().
|
2019-11-13 23:50:38 +03:00 |
|
Leonid Yuriev
|
c09fbc2ad2
|
mdbx: refork mdbx_flush_incoherent_mmap().
|
2019-11-13 23:50:38 +03:00 |
|
Leonid Yuriev
|
0dc544fefd
|
mdbx: use SysV semaphores on systems without shared mutexes.
Change-Id: Ib2ad9ed137ab76999a2a8e832f9f77ff1a0788ca
|
2019-11-13 11:31:22 +03:00 |
|
Leonid Yuriev
|
2f45c37320
|
mdbx-posix: refine locking build-options.
Change-Id: I09c0dd453dd39e0105176ad8d9e414e2582849fb
|
2019-11-13 11:31:22 +03:00 |
|
Leonid Yuriev
|
e2ae62bdb2
|
mdbx: refine gc_update() to avoid fragmentation on rare cases.
|
2019-11-13 11:24:44 +03:00 |
|
Leonid Yuriev
|
a6bf73a817
|
mdbx: don't rollback when boot-id matches.
Change-Id: Iee4656e120bd4205f8528f1fc613cbff1ab4a859
|
2019-11-13 11:24:44 +03:00 |
|
Leonid Yuriev
|
5af02290e6
|
mdbx: portability fixes for SunOS/Solaris/OpenIndiana.
Change-Id: I0442367e798903598d706c65b536a127ca982fce
|
2019-11-11 15:13:56 +03:00 |
|
Leonid Yuriev
|
51440b5542
|
mdbx: minor fix auto-readahead for buggy platforms (i.e. DragonflyBSD, NetBSD).
|
2019-11-11 13:10:22 +03:00 |
|
Leonid Yuriev
|
fc48751f8f
|
mdbx: use MAP_NOSYNC & MAP_HASSEMAPHORE if defined (compatibility).
|
2019-11-11 13:10:22 +03:00 |
|
Leonid Yuriev
|
3e7944f732
|
mdbx: use POSIX.1 IPC semaphores on systems without shared mutexes.
Change-Id: I5e398257e65c355d1028167f2719232fc55d093a
|
2019-11-11 13:08:19 +03:00 |
|
Leonid Yuriev
|
647d832556
|
mdbx: initial mdbx_check_fs_rdonly() and mdbx_check_fs_local().
Change-Id: Iff48f1ad1ef54c1e51dceebce16097be030206bd
|
2019-11-08 18:40:29 +03:00 |
|
Leonid Yuriev
|
fff19d878f
|
mdbx: fix update_gc() to avoid rare MDBX_KEYEXIST.
Change-Id: I6798e587f62cd570b43b095554c5f3f6adf5198d
|
2019-11-04 12:31:54 +03:00 |
|
Leonid Yuriev
|
2cfe632296
|
mdbx: rework/fix rebalance & page merge (fix MDBX_PAGE_FULL).
Change-Id: Ice610861d76390e76685c1bfad56fb8fe3462ed2
|
2019-11-04 12:31:54 +03:00 |
|
Leonid Yuriev
|
cf884f082f
|
mdbx: initial osal_bootid().
Change-Id: I103f61714a1d2e58d4f508b7d814a56f5b58573c
|
2019-11-04 12:31:51 +03:00 |
|
Leonid Yuriev
|
582fdd7ed2
|
mdbx: refine mdbx_env_set_geometry().
Change-Id: Ib685de60c9109971e3ab42b13ee085a6ed50a1c5
|
2019-11-04 00:22:13 +03:00 |
|
Leonid Yuriev
|
e7b3a15d54
|
mdbx: fix/refine mdbx_setup_dxb() for case open existing DB with new geo-params.
Change-Id: Iebb9b19c8f81d8629c4b28ed547d27f1a139dc7f
|
2019-11-04 00:22:13 +03:00 |
|
Leonid Yuriev
|
3cc8e5222c
|
mdbx: undo/promote geo-changes made by child txn on abort.
Change-Id: Ieb291231909ef8e2a0205ffe1708d66b67ac5af7
|
2019-11-04 00:22:13 +03:00 |
|
Leonid Yuriev
|
415cb5f886
|
mdbx: refactor me_dbgeo usage and osal-mmap/mresize().
Change-Id: I1f29c953abcbd4f2bab7ba52e7dd9da85ea48354
|
2019-11-04 00:22:13 +03:00 |
|
Leonid Yuriev
|
b4729bd1d6
|
mdbx: minor refine pgno_align2os_bytes() usage.
Change-Id: I4b83792c298aaa4c3ac5f412489a31f639f6d016
|
2019-11-04 00:22:13 +03:00 |
|