Commit Graph
12427 Commits
Author SHA1 Message Date
christianEQ 689a5d2a00 check for musl in logging.tcl as backtrace() is not available with it
Former-commit-id: 2c8239f9cb
2021-04-05 11:09:49 -04:00
John Sully ec13e045f7 Fix issue #300
Former-commit-id: e9551c9e8d
2021-03-30 23:30:41 +00:00
Hanif Ariffin 2c3d767431 Fix typo in error string
Former-commit-id: 0ac80086bc
2021-03-30 13:52:47 -04:00
VivekSainiEQ 6a6f847289 Added logic back to only acquire/release GIL if modules are enabled, without causing deadlocks
Former-commit-id: 9ab36ddc36
2021-03-30 13:46:03 -04:00
VivekSainiEQ fcc528db50 now acquire and release GIL every time you go to/wake from sleep
Former-commit-id: a6bc34c09b
2021-03-30 13:46:03 -04:00
VivekSainiEQ c48144356e Created and initialized seperate thread variables for modules
Former-commit-id: 3bb6b16c4a
2021-03-30 13:46:03 -04:00
VivekSainiEQ 0ed2d37416 Readded getkeys to module build
Former-commit-id: 1cde2442aa
2021-03-30 13:46:03 -04:00
John Sully 07530bc0fb Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: 2910cee32b
2021-03-29 00:49:34 +00:00
VivekSainiEQ d3b9c8f506 Updated jemalloc to version 5.2.1
Former-commit-id: 7fefc7b245
2021-03-19 20:10:27 +00:00
VivekSainiEQ 8714a26cd9 Removed hasModuleGIL boolean and added fix from PR #292
Former-commit-id: 68d213f4c9
2021-03-19 20:10:24 +00:00
VivekSainiEQ 189967e7af added lock releasing w/ hasModuleGIL, changed module serverTL, and moved module_blocking_pipe to global scope to fix issue #276
Former-commit-id: 7d9a2ce827
2021-03-19 20:08:28 +00:00
benschermel bc161f684f update rpm script for centos8
Former-commit-id: c6ef287452
2021-03-18 19:31:54 +00:00
VivekSainiEQ dc8d9feae8 Updated module tests to default to multithreaded and added tests for RM_CreateTimer while loading .rdb
Former-commit-id: e6091a2b7e
2021-03-04 23:33:01 +00:00
John Sully 6ecabe823f Fix polarity issue in async rehash
Former-commit-id: dfea168499
2021-02-09 05:10:22 +00:00
John Sully bb733b0aab Fix bug in fastlock stack metadata
Former-commit-id: 241d1bd7e1
2021-02-07 19:11:05 -05:00
John Sully 7d588e637a Disable multithreaded rehash when active defrag is enabled. The two are not compatible
Former-commit-id: 56addcd172
2021-02-07 19:11:05 -05:00
John Sully 3970f4a5a7 The server should recalibrate periodically. Also reduce log noise
Former-commit-id: 8d8e1810d4
2021-02-07 19:11:05 -05:00
John Sully 8ce03686ed Ensure the C lock implementation behaves the same as the ASM
Former-commit-id: b5ddc11c46
2021-02-07 19:11:05 -05:00
John Sully 7c700f1987 Ensure rehash completes even when we're in a long running task
Former-commit-id: f107746e90
2021-02-07 19:11:05 -05:00
John Sully bef72e5f6a Implement rehash during spinlock
Former-commit-id: f68a26381a
2021-02-07 19:11:05 -05:00
John Sully 5ab1095022 Allow multiple threads to rehash simultaneously
Former-commit-id: 5a2cc90786
2021-02-07 19:11:05 -05:00
John Sully 5d161ca2f2 Fix races in free
Former-commit-id: 3881d5c1f2
2021-02-07 19:11:05 -05:00
John Sully c6c1084dd8 Initial implementation
Former-commit-id: 958f2c00c8
2021-02-07 19:11:05 -05:00
John Sully e55ca3603c Fix memory leak in mvccRestore
Former-commit-id: 165333b0fc
2021-02-07 23:38:49 +00:00
John Sully 26898b43a1 Module test reliability
Former-commit-id: cc827e157a
2021-02-01 22:21:49 +00:00
John Sully 23495c22a5 Simplify the handling of CreateTimer
Former-commit-id: 7b4e25008a
2021-02-01 15:51:22 -05:00
VivekSainiEQ 55659b1569 Modified RM_CreateTimer to prevent more that one function being posted at a time
Former-commit-id: f66e5a9c3d
2021-02-01 15:51:22 -05:00
VivekSainiEQ ad11549020 Changed RM_CreateTimer to only call aePostFunction is existing aePostFunction isn't in flight
Former-commit-id: 9954f5b4a4
2021-02-01 15:51:22 -05:00
VivekSainiEQ 73e8825266 Now post entire timer installation process as one function to make atomic with respect to global locks
Former-commit-id: 53936661c8
2021-02-01 15:51:22 -05:00
VivekSainiEQ e3eec7e37c Updated header file to remove fSynchronous flag
Former-commit-id: e2552ff8a9
2021-02-01 15:51:22 -05:00
VivekSainiEQ eb83f3d47b Removed more uses of fSynchronous and the use of condition variable and mutex on the control struct.
Former-commit-id: 6ab08cc3e1
2021-02-01 15:51:22 -05:00
VivekSainiEQ 363293ef61 Added fix for scenario where module thread waiting for s_mutexModule in acquireGIL can deadlock with module thread waiting for s_mutex in releaseGIL
Former-commit-id: 3205373bb3
2021-02-01 15:51:22 -05:00
VivekSainiEQ cba4dcffdf removed synchronous calls to aePostFunction and changed scope of g_fModuleThread in order to prevent module related deadlocks, issue #214
Former-commit-id: 3b8d1f7076
2021-02-01 15:51:22 -05:00
John Sully 8da77700dd ARM build fix
Former-commit-id: 5832c25ad1
2021-01-31 21:22:23 +00:00
John Sully 79ad42a836 Fix test failure caused by allowing pings during load
Former-commit-id: 569a3d9ff8
2021-01-31 07:15:55 +00:00
John Sully 64489534ba Reduce intermittent failures by giving tests more time
Former-commit-id: 69bc7108bd
2021-01-31 06:33:13 +00:00
christianEQ e1f8a71bd8 added exception to allow pings during loading
Former-commit-id: 8a557e9d71
2021-01-31 00:12:49 -05:00
christianEQ 406265263b added severity levels for afterErrorReply
Former-commit-id: fe0f071993
2021-01-31 00:12:49 -05:00
John Sully d527bddb70 Improve multithreaded test reliability
Former-commit-id: effa53339c
2021-01-31 04:33:27 +00:00
John Sully c86f8030cd Fix test failure due to bad merge
Former-commit-id: f6fb0e4620
2021-01-31 03:40:57 +00:00
John Sully 79eaf32733 Fix CI failure due to missing package
Former-commit-id: cf46a014c1
2021-01-31 02:36:30 +00:00
John Sully 78b87d4ed1 Fix crash on shutdown command
Former-commit-id: d72b5fa16d
2021-01-31 02:30:28 +00:00
christianEQ 7ad562c41a Merge pull request #284 from christianEQ/redismerge_2021-01-20
Merge Redis 6.0.10 into KeyDB

Former-commit-id: 0151507cef
2021-01-29 10:59:36 -05:00
christianEQ 011b69e9a6 killMainThread -> killServerThreads
Former-commit-id: 0fea781f8f
2021-01-28 23:57:19 +00:00
christianEQ 67d6665795 compare_exchange in connSocketRead, explicitly enforce memory order (even if redundant)
Former-commit-id: 3c4cadc020
2021-01-28 23:17:48 +00:00
christianEQ da274b9c14 fixed replicaof no one config, added test case
Former-commit-id: e2615ccf88
2021-01-28 19:49:22 +00:00
christianEQ 423ac80ccd updated version num to 255.255.255
Former-commit-id: 595deb0e13
2021-01-28 16:54:22 +00:00
christianEQ e6aff64c71 Merge remote-tracking branch 'john/unstable' into redismerge_2021-01-20
Former-commit-id: 5372d1aab2
2021-01-27 22:25:14 +00:00
christianEQ 5288425723 arm locker before checking zmalloc_used_memory
Former-commit-id: 52eca14ca6
2021-01-27 22:24:06 +00:00
Daniel Dai d69de1c689 Fix Swapdb crash
Former-commit-id: 1155f5ac63
2021-01-27 15:24:10 -05:00