antirez
c8304b099d
RESP3: most null replies converted.
2019-01-09 17:00:29 +01:00
antirez
29bbe91392
RESP3: addReplyNull() added.
2019-01-09 17:00:29 +01:00
antirez
e30fef5d8a
RESP3: remove other pointless shared object.
2019-01-09 17:00:29 +01:00
antirez
5ebe3268ed
RESP3: remove certain constants to spot places to fix.
2019-01-09 17:00:29 +01:00
antirez
a7a1ae025e
RESP3: Scripting RESP3 mode set/map protocol -> Lua conversion.
2019-01-09 17:00:29 +01:00
antirez
b8e804396f
RESP3: Fix API in scripting.c leaving Lua conversions RESP2.
2019-01-09 17:00:29 +01:00
antirez
0a5901d625
RESP3: Use new aggregate reply API in slowlog.c.
2019-01-09 17:00:29 +01:00
antirez
e95f9b664c
RESP3: Use new aggregate reply API in t_set.c.
2019-01-09 17:00:29 +01:00
antirez
43ee60204f
RESP3: Use new aggregate reply API in cluster.c.
2019-01-09 17:00:29 +01:00
antirez
5b6637e44d
RESP3: Make WITHSCORES reply back with a flat array in RESP2.
2019-01-09 17:00:29 +01:00
antirez
711abc03f1
RESP3: Use new deferred len API in object.c.
2019-01-09 17:00:29 +01:00
antirez
56c95799a3
RESP3: bring RESP2 compatibility to previous changes.
2019-01-09 17:00:29 +01:00
antirez
e6a467814a
RESP3: addReply*Len() support for RESP2 backward comp.
2019-01-09 17:00:29 +01:00
antirez
9325d288f6
RESP3: put RESP version in the client structure.
2019-01-09 17:00:29 +01:00
antirez
880faa64ac
RESP3: Use new API and types in t_hash.c.
2019-01-09 17:00:29 +01:00
antirez
293659ae04
RESP3: Use new deferred len API in dict.c.
2019-01-09 17:00:29 +01:00
antirez
dbe9cff831
RESP3: Use new deferred len API in config.c.
2019-01-09 17:00:29 +01:00
antirez
3d614c05d9
RESP3: Use new deferred len API in t_zset.c.
2019-01-09 17:00:29 +01:00
antirez
dabbe41451
RESP3: Use new deferred len API in t_string.c.
2019-01-09 17:00:29 +01:00
antirez
166cdd3583
RESP3: Use new deferred len API in replication.c.
2019-01-09 17:00:29 +01:00
antirez
036e10dcb9
RESP3: Use new deferred len API in server.c.
2019-01-09 17:00:29 +01:00
antirez
689949fb30
RESP3: Aggregate deferred lengths functions.
2019-01-09 17:00:29 +01:00
antirez
7b7a468949
RESP3: Double replies and aggregate lengths initial functions.
2019-01-09 17:00:29 +01:00
Salvatore Sanfilippo
9f70022e85
Merge pull request #5746 from UmanShahzad/old-geohash-docs
...
Remove documentation about geohash-int in deps repo.
2019-01-09 10:12:09 +01:00
Salvatore Sanfilippo
65187eec8a
Merge pull request #5729 from artix75/cluster_manager_fix_cmd
...
Cluster Manager del-node: use CLUSTER RESET in place of SHUTDOWN
2019-01-09 10:11:27 +01:00
Salvatore Sanfilippo
163e8b1740
Merge pull request #5751 from chenyang8094/unstable
...
Update ae.c
2019-01-09 10:10:53 +01:00
chenyangyang
ce87de9682
Update ae.c
...
Update comment
2019-01-06 15:01:25 +08:00
Uman Shahzad
188b698989
Remove documentation about geohash-int in deps repo.
2019-01-03 19:12:45 +05:00
artix
94f6693395
Cluster Manager del-node: use CLUSTER RESET in place of SHUTDOWN
...
See issue #5687
2018-12-27 17:20:42 +01:00
antirez
19d0ece979
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-12-21 11:39:15 +01:00
Salvatore Sanfilippo
666adf2669
Merge pull request #5713 from artix75/cluster_manager_fix_cmd
...
Cluster Manager: enable --cluster-replace also for 'fix' command.
2018-12-19 17:34:35 +01:00
artix
6c20ebbbb6
Cluster Manager: enable --cluster-replace also for 'fix' command.
2018-12-19 17:29:25 +01:00
Salvatore Sanfilippo
3399258846
Merge pull request #5709 from artix75/cluster_manager_fix_cmd
...
Fixed memory leak in clusterManagerCompareKeysValues.
2018-12-19 17:24:38 +01:00
artix
de69c77451
Fixed memory leak in clusterManagerCompareKeysValues.
2018-12-18 18:45:10 +01:00
Salvatore Sanfilippo
980c82b952
Merge pull request #5708 from artix75/cluster_manager_fix_cmd
...
Cluster Manager: compare key values after BUSYKEY error (migration).
2018-12-18 18:27:38 +01:00
artix
8bcade7cfa
Cluster Manager: compare key values after BUSYKEY error (migration).
...
If a key exists in the target node during a migration (BUSYKEY),
the value of the key on both nodes (source and target) will be compared.
If the key has the same value on both keys, the migration will be
automatically retried with the REPLACE argument in order to override
the target's key.
If the key has different values, the behaviour will depend on such
cases:
- In case of 'fix' command, the migration will stop and the user
will be warned to manually check the key(s).
- In other cases (ie. reshard), if the user launched the command
with the --cluster-replace option, the migration will be
retried with the REPLACE argument, elsewhere the migration will
stop and the user will be warned.
2018-12-18 17:45:35 +01:00
Salvatore Sanfilippo
0779f87fe5
Merge pull request #5691 from artix75/cluster_manager_fix_cmd
...
Cluster Manager: avoid using reply error messages to check slot status.
2018-12-12 13:39:53 +01:00
artix
da1fc5e7e4
Cluster Manager: avoid using reply error messages to check slot status.
...
Slot assignment status is now checked by using CLUSTER SLOTS.
Furthermore, one memory leak has been fixed.
2018-12-12 13:34:43 +01:00
antirez
11f6eb50a6
Remove debugging printf from replication.tcl test.
2018-12-12 11:55:30 +01:00
antirez
421c242dd0
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
Salvatore Sanfilippo
2b5b4797c4
Merge pull request #5689 from soloestoy/donot-evict-when-AOF-loading
...
evict: don't care about mem if loading
2018-12-12 11:29:10 +01:00
antirez
93f443510b
Crashing is too much in addReplyErrorLength().
...
See #5663 .
2018-12-11 17:50:18 +01:00
zhaozhao.zz
eb86c4c282
evict: don't care about mem if loading
...
When loading data, we call processEventsWhileBlocked
to process events and execute commands.
But if we are loading AOF it's dangerous, because
processCommand would call freeMemoryIfNeeded to evict,
and that will break data consistency, see issue #5686 .
2018-12-12 00:25:58 +08:00
antirez
f3409c523a
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-12-11 13:30:04 +01:00
antirez
44d75945aa
stringmatchlen() fuzz test added.
...
Verified to be able to trigger at least #5632 . Does not report other
issues.
2018-12-11 13:29:30 +01:00
antirez
f0954d0709
Fix stringmatchlen() read past buffer bug.
...
See #5632 .
2018-12-11 13:18:52 +01:00
Salvatore Sanfilippo
f710858702
Merge pull request #5665 from louiszhw/unstable
...
fix comments fault discription
2018-12-11 13:03:09 +01:00
Salvatore Sanfilippo
c690980158
Merge pull request #4264 from lsytj0413/unstable
...
fix a typo: craeted -> created
2018-12-11 13:02:28 +01:00
Salvatore Sanfilippo
f4440dd6b9
Merge pull request #5684 from soloestoy/ignore-multi-cmd-flags-loading-aof
...
multi: ignore multiState's cmd_flags when loading AOF
2018-12-11 12:57:25 +01:00
zhaozhao.zz
8bc763dd27
fix typo
2018-12-11 19:53:54 +08:00