Commit Graph
88 Commits
Author SHA1 Message Date
malavan 9243237519 fork lock for all threads, use fastlock for readwritelock 2022-04-13 13:52:41 -04:00
John Sully adc66136d9 Fix mac build breaks and remove license checks (won't work on mac) 2022-03-07 14:50:31 -05:00
christianEQ 898191750b Merge remote-tracking branch 'opensource/RELEASE_6' into keydbpro
Former-commit-id: 439c655a543f4d3224d90bcdeb21ba43c2ab8ab7
2022-01-14 22:19:42 +00:00
MalavanEQAlpha dfcbba494a Merge pull request #386 from EQ-Alpha/fix_rdb_hang
add readwrite lock for forking

Former-commit-id: 95c2a7e970ce17dd3e35eeaec0b63f7dd96d1cf5
2022-01-14 13:19:33 -08:00
John Sully 600e7ce265 Fix module test break
Former-commit-id: 05767cdcb3c45619cdeeebcedbbf55ff1712e366
2021-12-23 13:12:34 -05:00
John Sully f812aafaf7 Fix module test failures with blocked clients
Former-commit-id: 18ec4b8600ea3462843b58a0f0e917824dfd7ff3
2021-12-23 02:10:20 -05:00
VivekSainiEQ 7702c97cdf Merge remote-tracking branch 'mainpro/PRO_RELEASE_6' into keydbpro
Former-commit-id: 5a32d66ee382b6d227a67073afc81ca058d605ed
2021-12-06 20:43:23 +00:00
VivekSainiEQ 1ff6e37d2f Merge remote-tracking branch 'opensource/unstable' into PRO_RELEASE_6
Former-commit-id: 60da86471f68b13e2456e113ecd4aa117d95b134
2021-11-12 21:12:53 +00:00
VivekSainiEQ 817d2c55e4 Resolved merge conflicts in prior commit
Former-commit-id: 1594ef5e3e9f6413d8a68d91cad8eec0dc163b4e
2021-10-21 22:35:15 +00:00
VivekSainiEQ 443f8d8f9b Merge tag '6.2.6' into Redis_626_Merge
Former-commit-id: a4220f27d308863d77feab1713a920add23062ff
2021-10-21 22:33:55 +00:00
John Sully 8418a8edf1 Initial implementation of async commands
Former-commit-id: 0d3a4ce7e60c42b2d81962f13100bd1789bf64a8
2021-09-21 20:43:16 +00:00
MalavanEQAlpha 1391594708 Merge pull request #313 from MalavanEQAlpha/fixissue295
Resolve Issue #295 by speeding up keyIsExpired and setting timeout on subkey expires.

Former-commit-id: 92b6603f5f16872268f7be6d7c9068873c932094
2021-08-18 17:34:18 -04:00
malavan 55132ebab3 Merge remote-tracking branch 'opensource/unstable' into keydbpro
Former-commit-id: cf40fa5da29ba9574d20d706d0a41ca7001df95a
2021-08-11 20:41:54 +00:00
VivekSainiEQ 35182974fc Merge remote-tracking branch 'upstream/unstable' into redisearch_fixes
Former-commit-id: 1b251153f4bc7ce2ec94103136ced64581321f4b
2021-08-11 19:28:04 +00:00
malavan 51059a80b0 use INVALID_EXPIRE instead of -1
Former-commit-id: 4de458d57b37d5efe589367c5a059cf09f289d51
2021-07-14 22:13:29 +00:00
John Sully 88521a9dfb Merge branch 'unstable' into keydbpro
Former-commit-id: 81ded8a35daa5100cac7299a7d0b5f43ee7ac74f
2021-07-09 04:41:47 +00:00
John Sully 9c841628da Merge tag '6.2.3' into unstable
Former-commit-id: 1895dbb768
2021-07-09 04:40:31 +00:00
John Sully 7d6aa9ada3 Merge branch 'unstable' into keydbpro
Former-commit-id: 205d8f18d2bb8df5253bab40578b006b7aa73fd5
2021-05-28 23:32:46 +00:00
VivekSainiEQ 6f5e7e0bb5 Initialized serverTL in more places in module.cpp
Former-commit-id: 31cac772a925893c25c8ee7f67a13535818c752d
2021-05-25 16:55:47 +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
VivekSainiEQ 7ff439e4b1 Created and initialized seperate thread variables for modules
Former-commit-id: ab508bf18f8bcf20dddd258cd8cd8de97df64802
2021-03-30 13:46:03 -04:00
VivekSainiEQ a08ea414f3 Removed hasModuleGIL boolean and added fix from PR #292
Former-commit-id: eb33b6c78fcd4462816a5fd0a0bacdc2d20f23ec
2021-03-19 20:10:24 +00:00
VivekSainiEQ daba381150 added lock releasing w/ hasModuleGIL, changed module serverTL, and moved module_blocking_pipe to global scope to fix issue #276
Former-commit-id: c9b296fbc2bb44940189da05b1f76343b20d700e
2021-03-19 20:08:28 +00:00
John Sully 46b19b37e5 Merge branch 'unstable' into keydbpro
Former-commit-id: e2140793f2bf565972ada799af73bf4457e2718d
2021-02-08 18:17:09 +00:00
christianEQ c6bff25bdd Merge remote-tracking branch 'opensource/unstable' into keydbpro
Former-commit-id: 5bad058733de2c217340bb9ee48f02b07d754808
2021-02-03 18:10:27 +00:00
John Sully f4c444d82d Simplify the handling of CreateTimer
Former-commit-id: 466c9565004c62da6ba427855456d45132486804
2021-02-01 15:51:22 -05:00
VivekSainiEQ 52dde56d28 Modified RM_CreateTimer to prevent more that one function being posted at a time
Former-commit-id: 291007fd5b34ba143e198a845bd1b6c7e04363af
2021-02-01 15:51:22 -05:00
VivekSainiEQ 624165459e Changed RM_CreateTimer to only call aePostFunction is existing aePostFunction isn't in flight
Former-commit-id: 35cc135fa3faa8bbf4f47f9455d880c1e9680f33
2021-02-01 15:51:22 -05:00
VivekSainiEQ 2f6f5dbb98 Now post entire timer installation process as one function to make atomic with respect to global locks
Former-commit-id: bccf62a6c706063124c1df06d776e787ca28b382
2021-02-01 15:51:22 -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 1283f9a607 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: 11b37083822ce5bf632b5c76d1b4aaa2fe9857e3
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
christianEQ 3a13377335 Merge tag 'tags/6.0.10' into redismerge_2021-01-20
Former-commit-id: 3cdace182152727b2b19362072ab5f6ad55e2cd5
2021-01-26 21:43:09 +00:00
John Sully 81298de6da Merge branch 'unstable' into keydbpro
Former-commit-id: b7a1e16c0f04e8aeb3764e3681fa14fc0f97f6a3
2020-12-10 02:37:28 +00:00
John Sully 2a2d333a21 Remove addReply*Async methods since we already know if its async or not. This is just a source of bugs
Former-commit-id: 85c423e69c0f0daef21c0a267b30a324a1b64b84
2020-10-24 02:18:03 +00:00
John Sully 69fecd6fc2 Fix module test failures due to locking
Former-commit-id: 18aec70640ec81502bf1b5101e6032e3c31fbd69
2020-10-01 00:08:54 +00:00
John Sully 12f40f1be5 Merge tag '6.0.8' into unstable
Former-commit-id: 137a30a99134e8655d36e7e5f462219cee68680c
2020-09-30 19:47:55 +00:00
John Sully 18a6f285be Merge branch 'PRO_RELEASE_6' into keydbpro
Former-commit-id: bffe010ea5279bee869bc61cc6d933979e10bbea
2020-07-13 03:32:14 +00:00
John Sully 835f0c0537 Merge branch 'unstable' into keydbpro
Former-commit-id: 0dafbc254a0efd5ee302d5c58fb2ca0a85110104
2020-07-13 03:31:47 +00:00
John Sully e506455480 Prevent deadlock in RM_ThreadSafeContextLock() when triggered as part of a module callback in a server thread
Former-commit-id: 61119d6c18fe39e93e961985120214c6b263b747
2020-07-12 18:17:53 +00:00
John Sully 303b58cf2f COW pointer is not thread safe so we need a global expire lock
Former-commit-id: ac12eef75301564d920e622a08e4f586486fd395
2020-06-09 19:58:42 -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 304fbcc206 Fix bad merge in CI.yml
Former-commit-id: 596b656df68eca7bac0aaaa2fbae71c2c47d3e7f
2020-05-21 22:09:06 -04:00
John Sully babad00e4c Merge commit '7cb94fd6cc9e1ad106964171023457ae3ff0a40b' into unstable
Former-commit-id: d9b2fdb179ee1fdc8fc48a45b2e1c12e372519d0
2020-05-21 17:36:53 -04:00
John Sully a43431de7f Merge commit '2535a172c1247d5d32d6f2fefe51b95c27ba8ae1' into unstable
Former-commit-id: ecef43431db59899d1267e69786c347eba7aefd4
2020-05-21 17:30:56 -04:00
John Sully e807fc470a Remove debugging logs
Former-commit-id: 348fc2c393a7dd786df2a624dba04da157224c7e
2020-05-14 22:18:29 -04:00
John Sully 5c0cc1468c Fix crash during RDB save with module events
Former-commit-id: 0f7eac411eccb853d7e50152e2bbd1ee28e6ee53
2020-05-11 01:02:58 -04:00