zhaozhao.zz
6b056d29f3
block: propagate BRPOPLPUSH as RPOPLPUSH when unblock
2019-11-22 16:38:49 +08:00
zhaozhao.zz
bb0183a3bf
Propagation: flag module client as CLIENT_MULTI if needed
...
in case of nested MULTI/EXEC
2019-11-22 16:20:30 +08:00
zhaozhao.zz
2c970532dc
Propagation: flag module client as CLIENT_MULTI if needed
...
in case of nested MULTI/EXEC
2019-11-22 16:20:30 +08:00
zhaozhao.zz
dc2af2cbb2
Propagation: propagate EXEC directly in lua script
2019-11-22 15:45:21 +08:00
zhaozhao.zz
c73d70fb46
Propagation: propagate EXEC directly in lua script
2019-11-22 15:45:21 +08:00
zhaozhao.zz
b512cb40b8
Propagation: wrap commands in also_propagate array with MULIT/EXEC
...
Random command like SPOP with count is replicated as
some SREM operations, and store them in also_propagate
array to propagate after the call, but this would break
atomicity.
To keep the command's atomicity, wrap also_propagate
array with MULTI/EXEC.
2019-11-22 15:42:49 +08:00
zhaozhao.zz
37a10cef02
Propagation: wrap commands in also_propagate array with MULIT/EXEC
...
Random command like SPOP with count is replicated as
some SREM operations, and store them in also_propagate
array to propagate after the call, but this would break
atomicity.
To keep the command's atomicity, wrap also_propagate
array with MULTI/EXEC.
2019-11-22 15:42:49 +08:00
Madelyn Olson
678cf14f4a
Changed a tab to a space
2019-11-22 06:44:12 +00:00
Madelyn Olson
e8f4010e27
Changed a tab to a space
2019-11-22 06:44:12 +00:00
Madelyn Olson
c0891d5cca
Fixed a bug with enum log printing
2019-11-22 06:28:50 +00:00
Madelyn Olson
d50ae36e17
Fixed a bug with enum log printing
2019-11-22 06:28:50 +00:00
Madelyn Olson
1f35b8ce05
Fixed some linux warnings
2019-11-22 05:49:52 +00:00
Madelyn Olson
818a4e0f70
Fixed some linux warnings
2019-11-22 05:49:52 +00:00
Madelyn Olson
d57a2b9ef2
Added a flag for strings that are stored as NULL
2019-11-21 21:31:53 -08:00
Madelyn Olson
519822bcf9
Added a flag for strings that are stored as NULL
2019-11-21 21:31:53 -08:00
zhaozhao.zz
2f6ebb3ebe
scripting: a little refactor about EVAL and redis.call()
...
Change server.lua_client's flag in a more explicit way.
2019-11-22 11:58:03 +08:00
zhaozhao.zz
73841e8c49
scripting: a little refactor about EVAL and redis.call()
...
Change server.lua_client's flag in a more explicit way.
2019-11-22 11:58:03 +08:00
zhaozhao.zz
06a5619e16
scripting: flag lua_client as CLIENT_MULTI after redis.replicate_commands() immediately
...
To avoid nested MULTI/EXEC, we check the lua_caller's flag,
if we are in the MULTI context we flag the lua_client as
CLIENT_MULTI, but it's not enough we shoud flag lua_client
as CLIENT_MULTI after redis.replicate_commands() immediately
or the first write command after redis.replicate_commands()
cannot know it's in an transaction, I know the missing CLIENT_MULTI
doesn't have any effect now, but it's a real bug and we should fix
it, in case someday we allow some dangerous command like BLPOP.
2019-11-22 11:51:18 +08:00
zhaozhao.zz
097c4a6536
scripting: flag lua_client as CLIENT_MULTI after redis.replicate_commands() immediately
...
To avoid nested MULTI/EXEC, we check the lua_caller's flag,
if we are in the MULTI context we flag the lua_client as
CLIENT_MULTI, but it's not enough we shoud flag lua_client
as CLIENT_MULTI after redis.replicate_commands() immediately
or the first write command after redis.replicate_commands()
cannot know it's in an transaction, I know the missing CLIENT_MULTI
doesn't have any effect now, but it's a real bug and we should fix
it, in case someday we allow some dangerous command like BLPOP.
2019-11-22 11:51:18 +08:00
John Sully
219cd22fd6
Fix crash when client running async keys disconnects before keys finishes
...
Former-commit-id: dd9233c49d82c89a9d92b7251a56f91c2ee98e77
2019-11-21 20:40:58 -05:00
John Sully
fbc7821244
Fix crash when client running async keys disconnects before keys finishes
...
Former-commit-id: dd9233c49d82c89a9d92b7251a56f91c2ee98e77
2019-11-21 20:40:58 -05:00
John Sully
b057c1f8fb
Merge branch 'unstable' into advanced_db
...
Former-commit-id: 00ad497fb3f409dbfcaa62fa9ea5d793263eb13d
2019-11-21 20:21:48 -05:00
John Sully
5e692ff15a
Merge branch 'unstable' into advanced_db
...
Former-commit-id: 00ad497fb3f409dbfcaa62fa9ea5d793263eb13d
2019-11-21 20:21:48 -05:00
John Sully
032e5e4dc5
Bump version
...
Former-commit-id: 7dd53182e071641ff32813e5ba4b0e3fabe72abc
2019-11-21 20:16:42 -05:00
John Sully
774cebc4db
Bump version
...
Former-commit-id: 7dd53182e071641ff32813e5ba4b0e3fabe72abc
2019-11-21 20:16:42 -05:00
John Sully
c078c89db4
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 53b95d830ae7d62ec0a9083a59c8eca1ce2bff69
2019-11-21 20:16:23 -05:00
John Sully
db872b2895
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 53b95d830ae7d62ec0a9083a59c8eca1ce2bff69
2019-11-21 20:16:23 -05:00
John Sully
27c23b0c9b
Fix issue #83
...
Former-commit-id: 3028a890ef11cd99b2c7538de0f480d2466eb150
2019-11-21 20:05:16 -05:00
John Sully
3668715ba3
Fix issue #83
...
Former-commit-id: 3028a890ef11cd99b2c7538de0f480d2466eb150
2019-11-21 20:05:16 -05:00
Salvatore Sanfilippo
22c68cc3bf
Merge branch 'unstable' into rm_get_server_info
2019-11-21 10:06:15 +01:00
Salvatore Sanfilippo
64c2508ee3
Merge branch 'unstable' into rm_get_server_info
2019-11-21 10:06:15 +01:00
Salvatore Sanfilippo
a62e00420c
Merge pull request #6547 from guybe7/module_api_streams
...
Support streams in general module API functions
2019-11-21 10:03:50 +01:00
Salvatore Sanfilippo
f1f259de5b
Merge pull request #6547 from guybe7/module_api_streams
...
Support streams in general module API functions
2019-11-21 10:03:50 +01:00
antirez
d97625dcf6
Recomment PR #6346 .
2019-11-21 10:01:49 +01:00
antirez
da47d52c79
Recomment PR #6346 .
2019-11-21 10:01:49 +01:00
Salvatore Sanfilippo
e50df1216d
Merge branch 'unstable' into expose_zmalloc_capabilities
2019-11-21 09:57:19 +01:00
Salvatore Sanfilippo
70469b76d6
Merge branch 'unstable' into expose_zmalloc_capabilities
2019-11-21 09:57:19 +01:00
Daniel Dai
40e3cfb153
macro fix
...
macro fix
2019-11-20 20:39:04 -05:00
Daniel Dai
bfd8c1fdd2
macro fix
...
macro fix
2019-11-20 20:39:04 -05:00
John Sully
051bde5d3d
Fix issue #107 , active replicas do their own expires
...
Former-commit-id: 8e4f323439df29a5e8c0de9db7a848291721fd07
2019-11-20 19:44:31 -05:00
John Sully
633b7398e1
Fix issue #107 , active replicas do their own expires
...
Former-commit-id: 8e4f323439df29a5e8c0de9db7a848291721fd07
2019-11-20 19:44:31 -05:00
John Sully
b3dd59db5c
Additional asserts ensuring the client is creating on the correct thread
...
Former-commit-id: 937702ea1dd0a4331dd7c66ee9f5c2c3f2354d10
2019-11-20 17:00:40 -05:00
John Sully
f136492c45
Additional asserts ensuring the client is creating on the correct thread
...
Former-commit-id: 937702ea1dd0a4331dd7c66ee9f5c2c3f2354d10
2019-11-20 17:00:40 -05:00
Maxim Ivanov
ca70f5f070
Prune leftover TODO comment
...
Is it sufficient... ? -- Yes it is. In standalone mode, we say READY=1
at the comment point; however in replicated mode, we delay sending
READY=1 until the replication sync completes.
2019-11-20 19:45:25 +02:00
Maxim Ivanov
c7b68d10ea
Prune leftover TODO comment
...
Is it sufficient... ? -- Yes it is. In standalone mode, we say READY=1
at the comment point; however in replicated mode, we delay sending
READY=1 until the replication sync completes.
2019-11-20 19:45:25 +02:00
Madelyn Olson
faeed15627
Refactored renaming types in config
2019-11-20 09:22:38 -08:00
Madelyn Olson
803d765d49
Refactored renaming types in config
2019-11-20 09:22:38 -08:00
Salvatore Sanfilippo
15664acd87
Merge pull request #6559 from oranagra/active_defrag_tunables
...
Adjustments for active defrag defaults
2019-11-20 10:08:08 +01:00
Salvatore Sanfilippo
c697edf4f4
Merge pull request #6559 from oranagra/active_defrag_tunables
...
Adjustments for active defrag defaults
2019-11-20 10:08:08 +01:00
John Sully
8ce03ed34a
Add missing files
...
Former-commit-id: 8fa2951e21c5c75a0bb4dc3ef50891123166b76a
2019-11-19 23:03:20 -05:00