WuYunlong
0bf3acce38
Do not active expire keys in the background when the switch is off.
2019-05-06 11:46:07 +08:00
Yossi Gottlieb
7653918c7a
Preserve client->id for blocked clients.
2019-05-05 20:32:53 +03:00
Oran Agra
c76bb465f2
make replication tests more stable on slow machines
...
solving few replication related tests race conditions which fail on slow machines
bugfix in slave buffers test: since the test is executed twice, each time with
a different commands count, the threshold for the delta can't be a constant.
2019-05-05 08:25:01 +03:00
Salvatore Sanfilippo
111ab16557
Merge pull request #6051 from vattezhang/unstable
...
fix: benchmark auth fails when server have requirepass
2019-05-02 09:48:02 +02:00
zhaozhao.zz
7ff5c6011d
aof: enhance AOF_FSYNC_EVERYSEC, more details in #5985
2019-04-29 14:38:28 +08:00
Salvatore Sanfilippo
179c89c6a4
Merge pull request #5971 from devnexen/unstable
...
build fix
2019-04-26 17:32:21 +02:00
Salvatore Sanfilippo
73c5902548
Merge pull request #6002 from yongman/fix-memleak-in-bitfield
...
Fix memleak in bitfieldCommand
2019-04-26 17:31:42 +02:00
Salvatore Sanfilippo
30e8a7fec4
Merge pull request #6013 from rouzier/fix/stream_iterator_init
...
Fix stream interator start and end key initialize
2019-04-26 17:25:20 +02:00
Salvatore Sanfilippo
801404871e
Merge pull request #6039 from git-hulk/fix/benchmark-coredump-in-arguments
...
FIX: coredump in redis-benchmark
2019-04-26 17:17:55 +02:00
abhay
b19e3e0e4c
removed obsolete warning as per - https://github.com/antirez/redis/issues/5291
2019-04-26 17:03:16 +02:00
vattezhang
42bccb59c5
fix: benchmark auth fails when server have requirepass
2019-04-26 19:47:07 +08:00
vattezhang
03c7e580d7
update
2019-04-26 18:50:51 +08:00
vattezhang
dd038a522f
Merge github.com:antirez/redis into unstable
2019-04-26 18:47:11 +08:00
git-hulk
7bda78088d
FIX: core dump in redis-benchmark when the -r
is the last arg
2019-04-24 20:05:35 +08:00
John Sully
6ae796cb91
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: 37b2d046bef12c7ee7cac4883f0b64ddde236d74
2019-04-21 14:01:10 -04:00
John Sully
83adc0eabb
Factor out some normally const globals
...
Former-commit-id: fa2e407873fce7f936943ae1fe162d54d7bedd70
2019-04-21 13:20:45 -04:00
John Sully
a3228b0875
additional fix to rreplay forward compat
...
Former-commit-id: c61cf57db5d9d274d5fb8806a9716056e06eb47d
2019-04-20 01:36:23 -04:00
John Sully
ea83004d18
Make rreplay forward compatible with extra future args
...
Former-commit-id: ef3690f2db48b80e3ffb5dbfc7d538c3bec23ee2
2019-04-20 01:15:01 -04:00
John Sully
fd65ef689a
Tweak mvcc time format so rollovers are not an issue
...
Former-commit-id: 14d01ec7bd6f20aea1ed51a1056d02d99583c6d2
2019-04-20 01:03:08 -04:00
John Sully
d6be236697
Timestamp writes to objects so we can be smarter about merging databases
...
Former-commit-id: 5dc9f70386617b02fab7eee1194f321f6b4b25c5
2019-04-20 00:52:07 -04:00
John Sully
3b09f197d5
Fix use uninitialized
...
Former-commit-id: 88e593bf967487835eaadf700abb3761e34306cb
2019-04-19 23:41:40 -04:00
John Sully
c07aa5f3fe
Additional MVCC work and fix memory leak loading objects from rdb
...
Former-commit-id: efde2e6be6dc2fc3425a17e2dc146c5b8823730a
2019-04-19 22:54:42 -04:00
John Sully
676334758d
Add version override command for users that need compatibility with Redis
...
Former-commit-id: 5a78a3bc46335a844490fe00e657d68313680cbe
2019-04-19 19:57:11 -04:00
John Sully
7933223b2a
RREPLAY PERF: The UUID stack is unnecessary, RREPLAY itself can detect the cycle and call cancel()
...
Former-commit-id: b276d803d49339eb30879a3d170ebc480d9430bd
2019-04-19 19:36:47 -04:00
John Sully
daed37e6c4
Detect cycles in mesh networks with multi master
...
Former-commit-id: da51ac430b43628f5cb5c1f0f005d937ed32660b
2019-04-19 19:31:11 -04:00
John Sully
a8d89641cf
Fix crash near boot when adding replicas and dumping database
...
Former-commit-id: 01eb0a3c7f01d381ffb66c3fec0214d07e8594de
2019-04-19 17:08:54 -04:00
John Sully
bb07727a0d
Replication fake connection should inhereit the user and permission of the real connection
...
Former-commit-id: dc2b3cf4f8965c329ea23d78c33592c99f16b109
2019-04-18 22:07:35 -04:00
John Sully
0e10e4f6f5
Start of MVCC support (and more C++)
...
Former-commit-id: c4621a5ed2a7d8ca5034f2fbe8b71550f290ea64
2019-04-16 23:16:03 -04:00
John Sully
98c30dfac1
Fix module linking and crashing issues
...
Former-commit-id: 1c953a4d5b332a0758d77d378c0caffa4d9bcfe4
2019-04-16 13:34:22 -04:00
John Sully
e79d075076
Fix replica authentication failure when masterauth is below replicaof in the config file
...
Former-commit-id: c64ce7aa9c7783425430e08831f1c41346e315a9
2019-04-15 22:31:02 -04:00
antirez
8b3da54796
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-04-15 16:50:48 +02:00
antirez
d21b3b9d9e
Test: disable module testing for now.
2019-04-15 16:50:26 +02:00
John Sully
89e09dd609
Fix memory leak unsetting master
...
Former-commit-id: acdc4fdfec93c9121bdc12e52a9cd57f494f8dcd
2019-04-11 19:55:44 -04:00
John Sully
92feaf280f
Fix compile errors when MALLOC=memkind
...
Former-commit-id: 7ef9c18b72f892e0404167426bcfed260999e269
2019-04-11 19:40:45 -04:00
John Sully
cf40edb1e0
Fix failure to respect masterauth issue #26
...
Former-commit-id: a69b4e79db46f629da94c4a1172ea9b1c68dff35
2019-04-11 19:08:12 -04:00
James Rouzier
154914e654
Fix start and end key initialize
2019-04-11 12:19:02 -04:00
Salvatore Sanfilippo
f55e492701
Merge pull request #5961 from yossigo/modules-tests
...
Modules tests
2019-04-11 07:56:23 -07:00
antirez
f4ae084e94
Aesthetic change to #5962 to conform to Redis style.
2019-04-10 18:53:35 +02:00
Salvatore Sanfilippo
b696571c4e
Merge pull request #5962 from oranagra/module_blocked_reply
...
slave corrupts replication stream when module blocked client uses large reply (or POSTPONED_ARRAY)
2019-04-10 09:41:36 -07:00
yongman
36fff343fb
Fix memleak in bitfieldCommand
2019-04-09 09:24:22 +08:00
John Sully
5b8893ef84
Fix addition RESP3 regressions (return empty set)
...
Former-commit-id: 740fc6c2b865f3846fc7c2b53e5b8303020964f2
2019-04-08 16:52:57 -04:00
John Sully
90f6b22128
Fix protocol break with hgetall and family
...
Former-commit-id: 42202c868dc24bf5d4a65cd42da2ef38be450a56
2019-04-08 13:52:02 -04:00
antirez
1a505a3ba9
ACL: Fix memory leak in ACLResetSubcommandsForCommand().
...
This commit fixes bug reported at #5998 . Thanks to @tomcat1102.
2019-04-08 18:08:37 +02:00
antirez
b364f3fc21
ACL: regression test for #5998 .
2019-04-08 18:06:50 +02:00
antirez
41fc29512c
Fix assert comparison in fetchClusterSlotsConfiguration().
2019-04-08 17:39:26 +02:00
John Sully
68bec6f239
Move remaning files dependent on server.h over to C++
...
Former-commit-id: 8c133b605c65212b023d35b3cb71e63b6a4c443a
2019-04-08 01:00:48 -04:00
John Sully
f469e28797
Move dict to C++
...
Former-commit-id: b50acd7238db7dc0935cd304070476f63ffff3f0
2019-04-07 17:23:59 -04:00
John Sully
149415cd20
Port db to C++
...
Former-commit-id: 54db278695a2df1ae08501b1518c1f7361610184
2019-04-07 17:13:14 -04:00
John Sully
836e0aa80b
Move a bunch of files to C++
...
Former-commit-id: 011948bcef748df33cb18e76dc5ba48d3c5706dc
2019-04-07 16:54:56 -04:00
John Sully
e8baaae47e
Make t_string C++
...
Former-commit-id: 9f95d8b38f837097f5041086e4af6fc8dcb9bd78
2019-04-07 15:24:23 -04:00