Commit Graph

  • 4ceaf842fe mdbx: add timed auto-sync feature. Leonid Yuriev 2019-08-23 13:13:20 +03:00
  • 68e0076ca3 mdbx: rework auto-sync by volume feature. Leonid Yuriev 2019-08-23 11:40:30 +03:00
  • 6f8238e1e9 mdbx: LCK-format version 3. Leonid Yuriev 2019-08-23 03:36:56 +03:00
  • 78e354689e mdbx: backport - don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 45487eb052 mdbx: backport - fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • 0eff1930b5 mdbx: backport - don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 263dbd97c5 mdbx: backport - fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • de88707946 mdbx: don't shrink DB less largest reader inside mdbx_env_set_geometry(). Leonid Yuriev 2019-08-22 22:33:18 +03:00
  • 0c63859459 mdbx: minor refine copy_asis(). Leonid Yuriev 2019-08-22 21:37:56 +03:00
  • 65fd8be9b5 mdbx: fix env_sync_ex() for out-of-txn case. Leonid Yuriev 2019-08-22 21:11:49 +03:00
  • 9168f8c69d mdbx: fix NULL-deref bug (Coverity). Leonid Yuriev 2019-08-21 02:07:02 +03:00
  • a6155bcf2a mdbx: update READMEs (build section). Leonid Yuriev 2019-08-21 01:05:57 +03:00
  • 07aa657b63 mdbx-build: minor refine Makefile. Leonid Yuriev 2019-08-20 20:53:43 +03:00
  • 887cbc7f00 mdbx: update README (MacOS support). Leonid Yuriev 2019-08-20 15:04:56 +03:00
  • e04bfc05fa mdbx: rename MDBX_OSX_SPEED_INSTEADOF_DURABILITY option. Leonid Yuriev 2019-08-20 15:04:32 +03:00
  • 6f0a11f155 mdbx: merge branch 'osx-try'. Leonid Yuriev 2019-08-20 03:18:31 +03:00
  • 657d37c9e3 mdbx: add MDBX_OSX_SPEED_OR_DURABILITY build-time #define for MacOS. Leonid Yuriev 2019-08-20 02:45:03 +03:00
  • ccbf3a2bcf mdbx: rework mdbx_filesync(). Leonid Yuriev 2019-08-20 00:17:28 +03:00
  • 261f697d8c mdbx: skip msync(MS_ASYNC) on Linux > 2.6.19. Leonid Yuriev 2019-08-19 21:31:05 +03:00
  • 226cb3ac90 mdbx: use F_FULLFSYNC on MacOS. Leonid Yuriev 2019-08-19 20:41:02 +03:00
  • 691898d129 mdbx-make: fix so/dll-suffix for MacOS. Leonid Yuriev 2019-08-19 08:11:13 -07:00
  • 351939dd5d mdbx-test: reduce number of test-iteration for MacOS. Leonid Yuriev 2019-08-19 15:58:57 +03:00
  • 32a5b9089b mdbx-test: extend darwin-pthread-barrier for multiprocess-shared. Leonid Yuriev 2019-08-13 02:37:29 +03:00
  • 3f64d45819 mdbx-test: initial OSX support. Leonid Yuriev 2019-08-13 02:12:13 +03:00
  • 054a88c502 mdbx-test: add darwin-pthread-barrier. Leonid Yuriev 2019-08-13 01:59:06 +03:00
  • 91088af935 mdbx: initial OSX support. Leonid Yuriev 2019-08-13 02:07:10 +03:00
  • f5a25b8d5e mdbx-ci: enable OSX build for travis-ci. Leonid Yuriev 2019-08-11 00:34:32 +03:00
  • dcd4574510 mdbx-build: more Qt-Creator files. Leonid Yuriev 2019-08-12 15:55:24 +03:00
  • 7960f67ea6 mdbx-chk: "backed-pages > file-pages" isn't error in the non-exclusive or read-only modes. Leonid Yuriev 2019-08-12 15:40:37 +03:00
  • bceace7a09 mdbx: clarify shrink/grow-related internals. Leonid Yuriev 2019-08-12 15:26:26 +03:00
  • 5244c1a9c2 mdbx-chk: "backed-pages less filesize" isn't an error on Windows. Leonid Yuriev 2019-08-12 12:22:48 +03:00
  • cfaed9d761 mdbx-chk: don't use internal mdbx_filesize(). Leonid Yuriev 2019-08-12 11:40:32 +03:00
  • 5b09105a6d mdbx-chk: check filesize/backed-pages/alloc-pages. Leonid Yuriev 2019-08-12 02:43:13 +03:00
  • bc3d1a84cc mdbx-chk: use mdbx_env_stat2() and mdbx_env_stat2() to avoid races. Leonid Yuriev 2019-08-12 01:38:13 +03:00
  • 17407c9ecc mdbx: add mdbx_env_info2(txn) and mdbx_env_stat2(txn). Leonid Yuriev 2019-08-11 23:22:51 +03:00
  • d6a2f98ef5 mdbx: more env-signature checks. Leonid Yuriev 2019-08-11 22:54:06 +03:00
  • a6449f36f6 mdbx-chk: more for false-positive 'wrong idl entry' fix. Leonid Yuriev 2019-08-11 20:08:23 +03:00
  • 69f831af0b mdbx: refine lck-posix implementation. Leonid Yuriev 2019-08-11 19:13:29 +03:00
  • 036144eed4 mdbx-chk: fix false-positive 'wrong idl entry' error(s). Leonid Yuriev 2019-08-11 16:33:03 +03:00
  • 8917fb30bf mdbx: make lck-wait ops breakable for linux/posix. Leonid Yuriev 2019-08-11 12:22:02 +03:00
  • bf0e0382fc mdbx: use O_DIRECT for db-copy. Leonid Yuriev 2019-08-11 01:06:59 +03:00
  • 2b2eedbbf0 mdbx: add POSIX-2008 note to README. Leonid Yuriev 2019-08-11 00:23:18 +03:00
  • bdc77df921 mdbx: fix race-with-close for lck-posix. Leonid Yuriev 2019-08-11 00:07:21 +03:00
  • 673f867e3c mdbx: minor refine Linux lck-implementation. Leonid Yuriev 2019-08-10 23:25:17 +03:00
  • 1e3637af59 mdbx-test: refine long_stochastic-script for FreeBSD compatibility. Leonid Yuriev 2019-08-10 23:04:00 +03:00
  • c6369e68a3 mdbx: draft support for non-Linux POSIX-platforms (FreeBSD, MacOS, etc). Leonid Yuriev 2019-08-10 15:38:09 +03:00
  • ce64c5aa37 mdbx: use OFD (open file) locks on Linux. Leonid Yuriev 2019-08-10 12:53:16 +03:00
  • a008b0b16f mdbx: description of lck-implementation for Linux. Leonid Yuriev 2019-08-09 21:36:02 +03:00
  • 1798904cf4 mdbx: description of internal lck API. Leonid Yuriev 2019-08-09 21:33:18 +03:00
  • 214df7c1e1 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 334aa68a85 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 4bfb3ec238 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • 416a14fb85 Note about moving from Github. Leonid Yuriev 2019-07-27 22:13:28 +03:00
  • f0fb56415c mdbx-make: avoid multi-processing for cross-qemu (EPERM for alien shared mutex). Leonid Yuriev 2019-07-22 01:24:04 +03:00
  • 663f3f3c58 mdbx: conditionally use cacheflush() for linux < 2.6.11 Leonid Yuriev 2019-07-22 00:19:15 +03:00
  • a6bad26e1d mdbx: rename/clarify flush_noncoherent_cpu_writeback(). Leonid Yuriev 2019-07-21 21:10:06 +03:00
  • f39044124e mdbx: clarify/rework invalidate_mmap_noncoherent_cache() for MIPS. Leonid Yuriev 2019-07-20 16:10:15 +03:00
  • cc75679214 mdbx: minor refine README. Leonid Yuriev 2019-07-19 06:17:12 +03:00
  • 7b4f5d9c4b mdbx: updates the README to be less ugly. Leonid Yuriev 2019-07-18 20:19:44 +03:00
  • 6413dcc2c6 mdbx-make: refine check-fault target (minor). Leonid Yuriev 2019-07-17 15:21:14 +03:00
  • 0b8ac37450 mdbx: reduces number of getpid() calls for checking PID against fork(). Leonid Yuriev 2019-07-16 11:52:10 +03:00
  • 7c7d5f4434 mdbx: made README content less ugly. Leonid Yuriev 2019-07-16 03:16:25 +03:00
  • 4adb1ab2d8 mdbx: portability - rename lck-posix.c to lck-linux.c Leonid Yuriev 2019-07-15 00:29:46 +03:00
  • 6eebac1510 mdbx: portability - drop unused mul_64x64_128(). Leonid Yuriev 2019-07-14 03:21:09 +03:00
  • 814f8fe7ab mdbx-test: portability - undefine BSD's roundup2() macro. Leonid Yuriev 2019-07-14 03:19:40 +03:00
  • fac0c4c5c0 mdbx-test: portability - define bswap() macros conditionally. Leonid Yuriev 2019-07-14 02:08:14 +03:00
  • f37a760dda mdbx: portability - O# for ld's options. Leonid Yuriev 2019-07-14 01:32:09 +03:00
  • 2544a621e7 mdbx: portability - support for non-_GNU_SOURCE mode. Leonid Yuriev 2019-07-14 00:49:00 +03:00
  • 41f00485fd mdbx: portability - allows operation without mremap(). Leonid Yuriev 2019-07-14 00:39:17 +03:00
  • 97e4f66d16 mdbx: portability - support for musl libc. Leonid Yuriev 2019-07-13 23:25:34 +03:00
  • f2c3fcb6a4 mdbx: portability - define MDBX_ENODATA=-1 if ENODATA not available. Leonid Yuriev 2019-07-13 20:20:43 +03:00
  • cf7160bda2 mdbx: portability - don't include malloc.h on BSD. Leonid Yuriev 2019-07-13 20:07:56 +03:00
  • 097b274aa4 mdbx: portability - use C11 aligned_alloc(). Leonid Yuriev 2019-07-13 20:07:42 +03:00
  • 8f7ea1844b mddx: portability - compatibility with BSD-style __assert(). Leonid Yuriev 2019-07-13 20:07:24 +03:00
  • b3286bad16 mdbx: portability - fix __dll_hidden/__hidden typo. Leonid Yuriev 2019-07-13 19:57:32 +03:00
  • 3ac2af61aa mdbx: cleanup msvc-compat feature test defs. Leonid Yuriev 2019-07-13 12:07:14 +03:00
  • ae34255350 mdbx-test: adds check for prerequisites to long_stochastic.sh Leonid Yuriev 2019-07-12 21:27:34 +03:00
  • 1a123b5395 mdbx: backport - fix DB-shrinking race with copy-asis & readers. Leonid Yuriev 2019-07-09 15:23:19 +03:00
  • 961f08a5d2 mdbx: backport - refine backlog preparation inside update_gc(). Leonid Yuriev 2019-07-08 15:27:26 +03:00
  • eefbb7f063 mdbx: remove extra prep_backlog_data() inside update_gc(). v0.3.1 Leonid Yuriev 2019-07-09 15:49:04 +03:00
  • ce75405ccc mdbx: backport - fix DB-shrinking race with copy-asis & readers. Leonid Yuriev 2019-07-09 15:23:19 +03:00
  • c7674f671d mdbx: backport - refine backlog preparation inside update_gc(). Leonid Yuriev 2019-07-08 15:27:26 +03:00
  • 9dc0b6a3f3 mdbx-test: partialy revert long_stochastic.sh changes. Leonid Yuriev 2019-07-09 13:46:31 +03:00
  • 4ecf78163d mdbx: fix/refine mdbx_find_largest(). Leonid Yuriev 2019-07-09 02:46:24 +03:00
  • 421f4b01e6 mdbx-test: refine internals (delays, logging). Leonid Yuriev 2019-07-09 01:39:32 +03:00
  • 53563e75bb mdbx: fix DB-shrinking race with copy-asis & readers. Leonid Yuriev 2019-07-09 00:29:59 +03:00
  • bd5078347b mdbx: refine backlog preparation inside update_gc(). Leonid Yuriev 2019-07-08 15:27:26 +03:00
  • 06f16464aa mdbx-test: adds more jitter while DB opening. Leonid Yuriev 2019-07-07 20:18:12 +03:00
  • 1f89c494ff mdbx: refines OFF_T_MAX if it is not defined. Leonid Yuriev 2019-07-07 19:32:39 +03:00
  • 8606803344 mdbx: adds paranoid mvcc-checks into read transactions. Leonid Yuriev 2019-07-07 19:28:36 +03:00
  • 41de36e93d mdbx: avoids infinite copy_file_range-loop when file is unexpectedly truncated. Leonid Yuriev 2019-07-07 18:41:36 +03:00
  • 30ac62ceec mdbx-test: add coredump status. Leonid Yuriev 2019-07-07 02:33:35 +03:00
  • 7e1e142104 mdbx-chk: fix/refine error handling for sub-DBs. Leonid Yuriev 2019-07-07 01:47:10 +03:00
  • e2f37908b9 mdbx: fix/refine error handling while DB-pages walking. Leonid Yuriev 2019-07-06 21:23:26 +03:00
  • 6d4e151ba8 mdbx-test: fix comment typo (minor). v0.3.0 Leonid Yuriev 2019-07-01 22:48:28 +03:00
  • 40112ebd62 mdbx: engage copy_file_range() for env_copy_as_is. Leonid Yuriev 2019-06-30 16:11:05 +03:00
  • 6960c45e59 mdbx: avoids EFAULT "Bad address" while copy-as-is if DB is swapped-out from RAM. Leonid Yuriev 2019-06-29 18:34:56 +03:00
  • 2e60256978 mdbx: drop EPIPE/SIGPIPE handling (since pipes are disallowed). Leonid Yuriev 2019-06-29 15:24:01 +03:00
  • 38110579ba mdbx: drops mdbx_write(), using mdbx_pwrite() instead of. Leonid Yuriev 2019-06-28 11:15:42 +03:00
  • 08c334c8bc mdbx-test: limit DB-size 3Gb for long_stochastic. Leonid Yuriev 2019-06-27 10:53:35 +03:00