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
|
f285ab59e6
|
mdbx: fix mdbx_runtime_flags for ALLOY-build.
Change-Id: I16a7e3475043066cea7733ed31b7e5d5a5824516
|
2019-11-18 11:50:21 +03:00 |
|
Leonid Yuriev
|
497aa53e28
|
mdbx: fix minor typos.
Change-Id: Ib0c62eace9c766844a3f44124b525a3c6373c620
|
2019-11-18 00:13:27 +03:00 |
|
Leonid Yuriev
|
72c944974a
|
mdbx-tools: refine mdbx_chk (use boot-id, explicitly notify about sync-to-disk).
Change-Id: I520df734d9b806bc94b53f0817b71cd8223a7a62
|
2019-11-18 00:09:47 +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
|
dc03299dc6
|
mdbx: actualize list of supported OS.
|
2019-11-17 23:57:03 +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
|
baee0be7ad
|
mdbx-tools: minor refine mdbx_chk (use const strings).
Change-Id: I402c8d97cfa860f21b97bd20b6d6feb190af654e
|
2019-11-17 23:57:02 +03:00 |
|
Leonid Yuriev
|
7703312b88
|
mdbx-tools: fix mdbx_chk to avoid creation of missing DB.
Change-Id: Ieaeee75c1c8f8b1e426817df86ef1769e691e504
|
2019-11-16 00:23:03 +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
|
fe40af160d
|
mdbx: split-off mdbx-options into options.h .
|
2019-11-13 23:50:38 +03:00 |
|
Leonid Yuriev
|
7d0206d2cf
|
mdbx-make: rename targets, add more to non-GNU makefile.
|
2019-11-13 16:04:26 +03:00 |
|
Leonid Yuriev
|
057812fe02
|
mdbx: use MAP_CONCEAL when available (compatibility).
|
2019-11-13 15:49:41 +03:00 |
|
Leonid Yuriev
|
d47c4eeb78
|
mdbx-make: add -mapasync option to tests for clarity.
Change-Id: Ice2a483cf41aaa310dc2f8a47e9316e0f0efa131
|
2019-11-13 15:47:38 +03:00 |
|
Leonid Yuriev
|
b95fb5b124
|
mdbx: add auxiliary debug-begin/debug-end includes.
Change-Id: I9fad95e7e73a581c49388da31895aed94a3abbe4
|
2019-11-13 15:47:38 +03:00 |
|
Leonid Yuriev
|
d3e4a4659f
|
mdbx-test: use SysV semaphores on systems without shared mutexes.
Change-Id: Icc8bbbb9237917932e360920d613ee7f37a57710
|
2019-11-13 11:31:22 +03:00 |
|
Leonid Yuriev
|
c882f77f54
|
mdbx-test: refine locking options.
Change-Id: I6cb8798fd71b4b1ce2a76238ba955e7f6d539e45
|
2019-11-13 11:31:22 +03:00 |
|
Leonid Yuriev
|
ac75fe2604
|
mdbx: move platform-related options into osal.h
Change-Id: I4bdbc5f89fc468f0068f97cc30f911eb0ab151d3
|
2019-11-13 11:31:22 +03:00 |
|
Leonid Yuriev
|
d655289d08
|
mdbx-make: fix/refine LIBS propagation.
Change-Id: Iaa140ca39fc460f896996e81f663de0026b4e5e9
|
2019-11-13 11:31:22 +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
|
df44539486
|
mdbx: fix unused warning for Wpedantic_format_voidptr().
Change-Id: I3ac5f83ceb8f9aa28deb56d983595fc55bfcfa93
|
2019-11-13 11:24:44 +03:00 |
|
Leonid Yuriev
|
353def5c29
|
mdbx-ci: don't use Precise Pangolin on travis-ci.
Change-Id: Ie13c2aa95ef2087fa6e1e92f62d46c414cb6d1ab
|
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
|
a7e0b3ccdf
|
mdbx-build: SunOS/Solaris/OpenIndiana support, etc.
|
2019-11-11 15:14:03 +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
|
bb2d2877c4
|
mdbx: add auto-readahead note/description.
Change-Id: Ie425416fd1afe9092b73acae4a7e3cdb5c3d8168
|
2019-11-11 13:10:22 +03:00 |
|
Leonid Yuriev
|
4dfa97cda9
|
mdbx-posix: fix mdbx_lck_seize() and mdbx_lck_destroy() for rare race-case.
Change-Id: I49c1d39665e3ef1eb1422b9da02c5719be3ee3b0
|
2019-11-11 13:10:22 +03:00 |
|
Leonid Yuriev
|
6a7499c8fc
|
mdbx: refine POSIX-options detection.
|
2019-11-11 13:10:22 +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
|
6da4c1f06b
|
mdbx-build: add stub Makefile for non-GNU Make.
|
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
|
885d5b2121
|
mdbx-test: support for systems lack of _POSIX_THREAD_PROCESS_SHARED.
Change-Id: I75437b83b430eaa10551a74b786faaba407d7026
|
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
|
1f82b4ff21
|
mdbx-build: minor fix GNUMakefile for xBSD-compatibility.
Change-Id: Ib97f2d1ea7c439d1e9144fb1a8e3962694682273
|
2019-11-08 18:40:29 +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
|
b7ed67543f
|
mdbx-windows: use CreateFileW() instead of CreateFileA().
Resolves https://github.com/leo-yuriev/libmdbx/issues/66
Change-Id: I0266a8a77460940332045c19cb561553a5047e7c
|
2019-11-08 18:39:51 +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
|
ca06572e2a
|
mdbx-test: add built-in help/usage.
Change-Id: If6e5e15622810b52d8db71db839942ab5f9444f3
|
2019-11-04 00:22:13 +03:00 |
|
Leonid Yuriev
|
5233a3cdb4
|
mdbx-test: add resource usage (CPU time).
Change-Id: I96b9bc9e748186ef122c809386ec3f52259d3b33
|
2019-11-04 00:22:13 +03:00 |
|