Commit Graph
77 Commits
Author SHA1 Message Date
Malavan Sotheeswaran e0e5ce4416 only need to include readwritelock in ae 2022-04-13 14:04:07 -04:00
Malavan Sotheeswaran a15991c2f4 hide forklock object in ae 2022-04-13 14:04:02 -04:00
malavan 9243237519 fork lock for all threads, use fastlock for readwritelock 2022-04-13 13:52:41 -04:00
John Sully 4f10d12873 Improve connect performance by reducing lock contention, I'm seeing 50-100% improvements 2022-04-13 12:51:00 -04:00
John Sully 106dbd9ebe Merge branch 'keydbpro_collab' into multithread_load
Former-commit-id: b580a5561220bc6dc7bc073135f3045ba0cdda51
2021-06-02 04:24:49 +00:00
John Sully 1cf10d50d8 Merge branch 'unstable' into keydbpro
Former-commit-id: 4fd95b064648ee3d02097a1c2dabf306978b44f9
2021-05-30 04:28:09 +00:00
John Sully 3d297a7ca9 Don't leak AE control pipes to fork children
Former-commit-id: 1ed2e8b5bc
2021-05-30 02:06:20 +00:00
John Sully ad631c3fe2 Repair async rehash code removed by merge
Former-commit-id: 14a3ab8133c474bf8f1ad636c8699d5d59c5394e
2021-05-29 00:24:46 +00:00
John Sully 7d6aa9ada3 Merge branch 'unstable' into keydbpro
Former-commit-id: 205d8f18d2bb8df5253bab40578b006b7aa73fd5
2021-05-28 23:32:46 +00:00
John Sully 25f083a1f4 Merge tag '6.2.2' into unstable
Former-commit-id: 93ebb31b17
2021-05-21 05:54:39 +00:00
John Sully f6b81914d8 Merge tag '6.2.1' into unstable
Former-commit-id: bfed57e3e0
2021-05-19 02:59:48 +00:00
John Sully 8fee5c8dc5 Fix remaining test failures
Former-commit-id: 37e607f9b13b6601ff52e74e613fb369cab22b56
2021-05-03 02:37:02 +00:00
John Sully 1133c3049f Fix majority of test issues with multithread load
Former-commit-id: 4db88176e33e3615ffb90852b49e76b12d5b4622
2021-04-30 18:45:37 +00:00
John Sully d30bee0c5f Don't prefetch when lock contention is low, it increases latency
Former-commit-id: 0d21614e0e5aba28acd364231823d51a3073081f
2021-04-12 03:41:53 +00:00
John Sully efef50b5d8 Don't prefetch when lock contention is low, it increases latency
Former-commit-id: 9b2629f6a20368cec8e55f0d006f3a67c8b770b7
2021-04-12 03:23:49 +00:00
John Sully 46b19b37e5 Merge branch 'unstable' into keydbpro
Former-commit-id: e2140793f2bf565972ada799af73bf4457e2718d
2021-02-08 18:17:09 +00:00
John Sully c9d27531d3 Implement rehash during spinlock
Former-commit-id: f68a26381a
2021-02-07 19:11:05 -05:00
VivekSainiEQ 53a06f0830 Removed more uses of fSynchronous and the use of condition variable and mutex on the control struct.
Former-commit-id: c6dcccda36d105a75ea5dd1766837b67f75fd9da
2021-02-01 15:51:22 -05:00
VivekSainiEQ f0f8479c59 removed synchronous calls to aePostFunction and changed scope of g_fModuleThread in order to prevent module related deadlocks, issue #214
Former-commit-id: 1ea1989ce4a794b4049e2164ba32d2daf2cfb317
2021-02-01 15:51:22 -05:00
John Sully c13b52ae8d Merge branch 'unstable' into keydbpro
Former-commit-id: 53a062a6b796ccbd43560fed1b05367ba759da96
2020-12-11 18:39:30 +00:00
John Sully 03b347168a Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: 0f6cd758443f6a9d8a2856e3a6d6f431cc52c627
2020-12-11 03:59:50 +00:00
John Sully 19ab526892 Merge branch 'unstable' into keydbpro
Former-commit-id: e59c3945d3ed0b05a3e42713b091b1b5c96a9db2
2020-12-11 00:49:54 +00:00
John Sully c3f0207ece Remove AE_ASSERT and use the proper assert infra
Former-commit-id: c81c858e9ecc2e17d034af40ed4a41f98c9a8184
2020-12-11 00:24:27 +00:00
John Sully 81298de6da Merge branch 'unstable' into keydbpro
Former-commit-id: b7a1e16c0f04e8aeb3764e3681fa14fc0f97f6a3
2020-12-10 02:37:28 +00:00
Kajaruban Surendran 911c409f94 Handling of aeResizeSetSize's return code for current thread
Former-commit-id: 52dc30ce32f915e67e59dcefce1f913d0c84c9cc
2020-12-04 14:54:06 -05:00
John Sully 2fa4fe6264 Avoid locking if we won't run a time event
Former-commit-id: e54091e7e9ab4d2145823808bd76e43ece1b3f82
2020-10-16 06:19:52 +00:00
John Sully 98d1f913fa Merge branch 'unstable' into keydbpro
Former-commit-id: ae482585f0dc470efd73833f74111c2f87a172c5
2020-08-15 21:29:00 +00:00
John Sully 6729f2f31a Fix lock after free in module API
Former-commit-id: afbe6c6553e4c2456f6259a2cea2ee66aab268eb
2020-08-10 06:10:24 +00:00
John Sully 835f0c0537 Merge branch 'unstable' into keydbpro
Former-commit-id: 0dafbc254a0efd5ee302d5c58fb2ca0a85110104
2020-07-13 03:31:47 +00:00
John Sully 7f2e3ebea4 Fix CLI crash on arch with hostname
Former-commit-id: a5b584d7d36c60cbbcf815572229b6c80a3a3dce
2020-07-12 05:37:43 +00:00
Muhammad Zahalqa 047731d2e7 unique lock used with cv.wait already owns mutex
Former-commit-id: 91ad3e8df3ab1c1db8d6a46ccffb75bac1369494
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa a6fbb5ff23 Fix bug in condition_variabe.wait usage
consition variable wait should always be called with a locked mutex.
This code break the pre-conditions of using wait.


Former-commit-id: 8981f96ca559b2bb885d0a67887854d6c42e8fef
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa 497ddf1525 aeCommand objects no need for memset and missing init of some memebers.
Former-commit-id: 1c9d1e6ca957174ffb5d66a1d8cafab2948e08d8
2020-06-24 23:15:29 -04:00
John Sully 06265aa260 Merge branch 'unstable' into keydbpro
Former-commit-id: ca3a50537e987bd30aec38265be535d89bb260f3
2020-06-08 16:51:16 -04:00
John Sully 4531a364e0 Some valgrind fixes
Former-commit-id: fdebdfd82d8f51a98ec27ce409e30edf0fe93ae7
2020-06-07 23:20:10 -04:00
John Sully d14d49df7c Merge branch 'unstable' into keydbpro
Former-commit-id: 461eea07260a31cd75753d5b7be691f5793a6f1b
2020-06-07 16:41:21 -04:00
John Sully c35bc52c67 Ensure CRON jobs run in a clean environment
Former-commit-id: 87bcccd08fa0b4e6d45fb4d07423b3804e8e77c1
2020-06-05 21:35:47 -04:00
John Sully 70cedc5151 Merge branch 'unstable' into keydbpro
Former-commit-id: 08a36155e3db9918048e87c3d691b7317787c9ab
2020-06-01 17:41:37 -04:00
John Sully 4015a56861 Fix module multithreaded test failures
Former-commit-id: 0752eff73f3f5343d56dc71ffe5cd91ddc596893
2020-05-31 23:46:12 -04:00
John Sully 98c33c2c6f Merge branch 'unstable' into keydbpro
Former-commit-id: a830cf85df236885558c5571c0bf23cfb23e3655
2020-05-24 14:41:53 -04:00
John Sully cee229889e Merge tag '6.0.2' into unstable
Redis 6.0.2


Former-commit-id: a0a5d39b417af1c1aa524f361c47879f4b629d35
2020-05-22 16:45:18 -04:00
John Sully a20caa5735 Initial merge of unstable 6
Former-commit-id: aac140de199646914cc02997a45111c9c695e55d
2020-04-16 16:36:16 -04:00
John Sully ffc006d322 Merge commit 'c609bf3f2c7f0982f632f82623ee4802868b8ef1' into redis_6_merge
Former-commit-id: e9eeee2780d7af8d983c489fcbbe758b4f613b65
2020-04-14 21:04:42 -04:00
John Sully 0046a5625b Merge commit 'e91ca9fee9c56ef319b407b104afc435be0c53cb' into redis_6_merge
Former-commit-id: 01bc534c56416f6a7b109bc38a97e108015729d8
2020-04-14 20:42:48 -04:00
John Sully 3d9aaaa034 C++14 build fix
Former-commit-id: 5a3e3c9fe20dabe294c439cd2b22e929a228f596
2020-02-17 23:29:03 -05:00
John Sully e3cbd04cf6 Merge branch 'unstable' into redis_6_merge
Former-commit-id: 22aef51551f87dc59ad9a3d04844904986fa807c
2020-02-16 18:18:24 -05:00
John Sully c46de94df5 Merge branch 'unstable' into keydbpro
Former-commit-id: f3457e2a9a8464bac656b57256316bbddb65d9e9
2020-02-16 04:04:34 -05:00
John Sully a9a857b127 aeDeleteEventLoop use after free and leak fixes
Former-commit-id: 89e666a3d469288d7c34648772059dd39c9ed092
2020-02-16 03:34:25 -05:00
John Sully 782fd3117e aeDeleteEventLoop use after free and leak fixes
Former-commit-id: 77820e5d50e0426570285a2c740c47b05a7c6c2f
2020-02-16 03:33:45 -05:00
John Sully 8297831a9e Merge branch 'unstable' into redis_6_merge
Former-commit-id: 17dc5b554c9a6587a92f7dc9cb8f1dd80447422a
2020-02-11 02:39:08 -05:00