Commit Graph
53 Commits
Author SHA1 Message Date
John Sully fe8efa916b Merge tag '6.2.1' into unstable
Former-commit-id: bfed57e3e0
2021-05-19 02:59:48 +00:00
VivekSainiEQ c48144356e Created and initialized seperate thread variables for modules
Former-commit-id: 3bb6b16c4a
2021-03-30 13:46:03 -04: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
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 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
christianEQ 358debebfa Merge tag 'tags/6.0.10' into redismerge_2021-01-20
Former-commit-id: dadce055f8
2021-01-26 21:43:09 +00:00
John Sully b336d269ca Remove addReply*Async methods since we already know if its async or not. This is just a source of bugs
Former-commit-id: df22cdf6e9
2020-10-24 02:18:03 +00:00
John Sully 2085e21dca Fix module test failures due to locking
Former-commit-id: 420ccdfbae
2020-10-01 00:08:54 +00:00
John Sully 4f18a247e3 Merge tag '6.0.8' into unstable
Former-commit-id: 4c7e4b91a6
2020-09-30 19:47:55 +00:00
John Sully efc8e719f9 Prevent deadlock in RM_ThreadSafeContextLock() when triggered as part of a module callback in a server thread
Former-commit-id: e01312642b
2020-07-12 18:17:53 +00:00
John Sully 4038288c4e Fix module multithreaded test failures
Former-commit-id: 1ef35cf466
2020-05-31 23:46:12 -04:00
John Sully 27eb239f1a Fix bad merge in CI.yml
Former-commit-id: 6311d709c3
2020-05-21 22:09:06 -04:00
John Sully c4db71f971 Merge commit '024c380b9da02bc4112822c0f5f9ac1388b4205b' into unstable
Former-commit-id: 7676f5b15f
2020-05-21 17:36:53 -04:00
John Sully ba7483c20b Merge commit 'c35a53169ffdbdf73f91224b6e62f6129fb9a838' into unstable
Former-commit-id: 7a15f6dfc7
2020-05-21 17:30:56 -04:00
John Sully d32cd50f25 Remove debugging logs
Former-commit-id: 4073758874
2020-05-14 22:18:29 -04:00
John Sully 32801484a7 Fix crash during hook module test
Former-commit-id: 628d168049
2020-05-10 21:57:16 -04:00
John Sully 3c43d81098 Fix crash in module tests
Former-commit-id: 37423757b5
2020-05-10 21:06:38 -04:00
John Sully d3ebe3b6bd Merge tag '6.0-rc3' into redis_6_merge
Redis 6.0 RC3.


Former-commit-id: b2cb10de5f
2020-04-14 22:56:19 -04:00
John Sully 02147b4be0 Merge commit '0f7dfc378ce5ab0524ac28b6142545bc41435386' into redis_6_merge
Former-commit-id: cc3ebbe519
2020-04-14 22:19:29 -04:00
John Sully 7a6933bb15 Merge commit 'e628f94436f2ffb38dd6305f18956f309838a8d6' into redis_6_merge
Former-commit-id: 2941792a85
2020-04-14 21:13:42 -04:00
John Sully 07005cc187 Merge commit 'be4bc1a5be26a7fde2fd05acd8187f5f0ed59f25' into redis_6_merge
Former-commit-id: 516c8c6e23
2020-04-14 20:42:48 -04:00
John Sully f27524674a Merge commit '973297336fc05a601e17be70aba88e5dca6480ae' into redis_6_merge
Former-commit-id: ef1236b600
2020-04-14 20:19:48 -04:00
John Sully 12999c17dd Merge commit 'df83892760d19b1b7e92d76e72daf4834ad2df6c' into redis_6_merge
Former-commit-id: cde199a797
2020-04-14 19:43:04 -04:00
John Sully 5dbcd55669 Merge commit '51c1a9f8fbc12a9276489178242e498bb6ccbdba' into redis_6_merge
Former-commit-id: 09e8fb17cd
2020-04-14 18:44:42 -04:00
John Sully bd73ec5f1e Merge commit '6fe55c2f299bbb306533af39cb28346bf5d473d3' into redis_6_merge
Former-commit-id: d71c4c2215
2020-04-14 18:30:26 -04:00
John Sully 46506b3e53 module fixes
Former-commit-id: ef4e11ecb8
2020-02-04 01:22:25 -05:00
John Sully 8e5fe97525 Merge remote-tracking branch 'redis/6.0' into redis_merge
Former-commit-id: ef9a3cadcf
2020-01-27 02:55:48 -05:00
Petr Vaněk 6eadfd5d34 Rename redis.conf to keydb.conf
Former-commit-id: 4b01ad1e30
2019-12-21 15:00:24 -05:00
John Sully c61b6cc8fd Update more slave instances to use replica (Issue #75)
Former-commit-id: 252725d50f
2019-10-13 12:29:20 -04:00
John Sully 863ae63e2c Acquire the lock for modules that don't acquire it before calling like they are supposed to
Former-commit-id: 6016dd0f8b
2019-07-30 16:54:25 -04:00
John Sully 363fbbb54c Fix crash in RediSearch
Former-commit-id: cbe5c04a0f
2019-07-29 15:08:41 -04:00
John Sully f88592451d Plumb support for sub expires to all expire related code
Former-commit-id: 184abac694
2019-07-23 18:53:59 -04:00
John Sully 2a2225d150 Initial prototype of EXPIREMEMBER command
Former-commit-id: 0b3d74ea67
2019-07-23 18:53:58 -04:00
John Sully 27cb5dba75 New expire datastructure and algorithm. Allows us to expire in sublinear time
Former-commit-id: 3880d2616c
2019-07-23 18:30:10 -04:00
John Sully 2e6f1098e4 Any +x bit is acceptable
Former-commit-id: 156e596f9c
2019-07-19 15:26:17 -04:00
John Sully b2aa7b0683 Any +x bit is acceptable
Former-commit-id: fc58516cca
2019-07-19 01:42:05 -04:00
John Sully 08d067fbcf Modules must have execute permissions to load
Former-commit-id: a4efcd35af
2019-07-19 01:31:10 -04:00
John Sully 4088de0ed2 Merge commit '677e95e2f5ee903682ce44a7bfd9558a22577926' into unstable
Former-commit-id: 4602f8c391
2019-07-19 00:01:56 -04:00
John Sully 9ca83cc9fd convert the pending write list to a vector for better performance and less cache thrashing
Former-commit-id: ae33ff3a6e
2019-06-17 23:00:12 -04:00
John Sully 913fe8eb78 Move more code out of the GIL
Former-commit-id: 59dbd625c1
2019-06-17 23:00:12 -04:00
John Sully e48c132d35 Merge branch 'unstable' of https://github.com/antirez/redis into MergeRedis
Note: some tests failing

Former-commit-id: 86d7276f24
2019-05-11 02:20:34 -04:00
John Sully e69b51a6d4 Fix module locking issues
Former-commit-id: bf26959b72
2019-05-09 19:00:27 -04:00
John Sully 7b87123505 refactor server global into a pointer (so that threadsafe commands can set this to NULL to prove they don't rely on it
Former-commit-id: 37b2d046be
2019-04-21 14:01:10 -04:00
John Sully e2e3acf04c Factor out some normally const globals
Former-commit-id: fa2e407873
2019-04-21 13:20:45 -04:00