John Sully
01a85ba7fe
Add extra logging when reporting errors from masters - especially in rreplay
...
Former-commit-id: 5397f0b03312b8cace07a85333d8f035bdfb8d57
2020-03-04 17:09:12 -05:00
antirez
b3134c8dd3
Make sync RDB deletion configurable. Default to no.
2020-03-04 17:44:21 +01:00
bodong.ybd
e0cf09cace
Added BITFIELD_RO variants for read-only operations.
2020-03-04 20:51:45 +08:00
antirez
1d048a3b46
Remove RDB files used for replication in persistence-less instances.
2020-03-03 14:58:15 +01:00
antirez
75a7615ce2
Tracking: optin/out implemented.
2020-02-27 18:02:30 +01:00
antirez
a227fd7cca
Tracking: fix max-keys configuration directive.
2020-02-27 18:00:46 +01:00
antirez
fce22c6a42
Tracking: first conversion from hashing to key names.
2020-02-27 17:59:57 +01:00
antirez
261fabeaa4
Tracking: BCAST: broadcasting of keys in prefixes implemented.
2020-02-27 17:59:57 +01:00
antirez
abdaebc6c4
Tracking: BCAST: registration in the prefix table.
2020-02-27 17:59:57 +01:00
antirez
ed36f3c76f
Tracking: BCAST: parsing of the options + skeleton.
2020-02-27 17:59:57 +01:00
antirez
ddc4965ac5
Tracking: minor change of names and new INFO field.
2020-02-27 17:59:57 +01:00
antirez
b5e379004f
Tracking: optin/out implemented.
2020-02-24 19:09:45 +01:00
antirez
c64fa84e08
Tracking: fix max-keys configuration directive.
2020-02-19 19:00:29 +01:00
John Sully
4b12a63b3a
Fix race condition with IStorage batches
...
Former-commit-id: a2eabd044c9048662a63ff0f980ed947dc145912
2020-02-17 19:00:31 -05:00
John Sully
8bd2b39367
Merge branch 'redis_6_merge' into keydbpro
...
Former-commit-id: b16090958d392a6de908562dee65a02c851f07ae
2020-02-16 20:07:03 -05:00
John Sully
bd5ffe7069
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 6a71de7835f427cebb23e4c2f0d19ed63a02f09e
2020-02-16 19:14:51 -05:00
John Sully
d229b03b2c
Support C++14 and remove dependency on future standard 2a
...
Former-commit-id: 18496b62853738bf7bd48f65fe34aafcba8bbe0b
2020-02-16 19:04:56 -05:00
John Sully
b6db2d32ad
Graceful shutdown of server threads when quit is requested
...
Former-commit-id: b9db899f6ccea62222170c6eec264d403a7a911d
2020-02-16 18:53:46 -05:00
John Sully
6011a072d1
Virtual dtor for DB base class
...
Former-commit-id: 953b1cb3a2fec808751d2e7507efe8896f671921
2020-02-16 18:43:36 -05:00
John Sully
74c7901a5e
Merge branch 'redis_6_merge' into keydbpro
...
Former-commit-id: 8456e92d6e446f1cc20d9cea2328998da0a4d7d5
2020-02-16 18:28:45 -05:00
John Sully
04d174ba1a
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 30a603ce05956195aa027a3400eafd48d2750ea7
2020-02-16 18:18:24 -05:00
John Sully
8f6f496c7e
Memory leak fix on config, and redisDb dtor
...
Former-commit-id: b92bbf4de8ffc3edc965e2f9da4dd82ed7071559
2020-02-16 17:08:00 -05:00
Guy Benoish
05b2e8c5c8
Diskless-load emptyDb-related fixes
...
1. Call emptyDb even in case of diskless-load: We want modules
to get the same FLUSHDB event as disk-based replication.
2. Do not fire any module events when flushing the backups array.
3. Delete redundant call to signalFlushedDb (Called from emptyDb).
2020-02-12 14:17:54 +01:00
Guy Benoish
98a59c540d
Exclude "keymiss" notification from NOTIFY_ALL
...
Because "keymiss" is "special" compared to the rest of
the notifications (Trying not to break existing apps
using the 'A' format for notifications)
Also updated redis.conf and module.c docs
2020-02-12 14:17:54 +01:00
Oran Agra
138252dc56
memoryGetKeys helper function so that ACL can limit access to keys for MEMORY command
2020-02-12 14:15:56 +01:00
antirez
491949ee5b
ACL LOG: make max log entries configurable.
2020-02-12 14:15:35 +01:00
antirez
c0de265bfa
ACL LOG: log failed auth attempts.
2020-02-12 14:15:35 +01:00
antirez
9f5b64c4a6
ACL LOG: actually emit entries.
2020-02-12 14:15:35 +01:00
antirez
2d06604451
ACL LOG: data structures and initial functions.
2020-02-12 14:15:35 +01:00
antirez
07a92b8118
Tracking: BCAST: broadcasting of keys in prefixes implemented.
2020-02-11 18:11:59 +01:00
antirez
6cd5fa3338
Tracking: BCAST: registration in the prefix table.
2020-02-11 17:26:29 +01:00
John Sully
23e7de94a8
Merge branch 'redis_6_merge' into keydbpro
...
Former-commit-id: 4091800e499cade8bc188c9e6f52f535c500f282
2020-02-11 02:54:24 -05:00
John Sully
fbaa46505c
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 18a5f46b6138e8a975dda0ed4897d19eed756d24
2020-02-11 02:39:08 -05:00
John Sully
d4c1e98124
Implement an error handler so bug #125 can't happen
...
Former-commit-id: 16a019dba053fd0654116ff98a2ad0b66a9ed4e6
2020-02-11 01:41:00 -05:00
John Sully
fef9925b7f
Fix higher latency at low load by grouping clients to threads. This fixes slow perf in cluster benchmarks mentioned in issue #102
...
Former-commit-id: 1a4c3224c9848f02fbdb49674045b593cfc41d31
2020-02-11 01:00:21 -05:00
antirez
c797326742
Tracking: BCAST: parsing of the options + skeleton.
2020-02-10 17:18:11 +01:00
John Sully
25ef65463e
Ensure multi-master works for ring topologies
...
Former-commit-id: a7cc3aac28ccec4dadb80aa2cc7279c53982bc28
2020-02-10 00:25:03 -05:00
John Sully
3aa271fe38
Merge branch 'unstable' into keydbpro
...
Former-commit-id: fec8209c1996112976d927d65dbc2b4492131681
2020-02-07 16:46:13 -05:00
antirez
dcb43f4530
Tracking: minor change of names and new INFO field.
2020-02-07 18:12:45 +01:00
antirez
bcc9361ad4
Tracking: first conversion from hashing to key names.
2020-02-07 14:03:43 +01:00
Salvatore Sanfilippo
8052340ce8
Merge pull request #6822 from guybe7/diskless_load_module_hook_fix
...
Diskless-load emptyDb-related fixes
2020-02-06 13:10:00 +01:00
Guy Benoish
b2bd353f62
Diskless-load emptyDb-related fixes
...
1. Call emptyDb even in case of diskless-load: We want modules
to get the same FLUSHDB event as disk-based replication.
2. Do not fire any module events when flushing the backups array.
3. Delete redundant call to signalFlushedDb (Called from emptyDb).
2020-02-06 16:48:02 +05:30
antirez
2700fae0b7
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2020-02-06 11:24:22 +01:00
antirez
3d167847aa
Merge branch 'acl-log' into unstable
2020-02-06 11:24:16 +01:00
Salvatore Sanfilippo
7d10c95786
Merge pull request #6821 from guybe7/key_miss_notify
...
Exclude "keymiss" notification from NOTIFY_ALL
2020-02-06 10:43:05 +01:00
Oran Agra
f7067d371b
memoryGetKeys helper function so that ACL can limit access to keys for MEMORY command
2020-02-05 09:42:49 +02:00
antirez
f1518f63b1
ACL LOG: make max log entries configurable.
2020-02-04 13:19:40 +01:00
antirez
debc5d4ef9
ACL LOG: log failed auth attempts.
2020-02-04 12:55:26 +01:00
Leo Murillo
5b2c6c5efa
Set ZSKIPLIST_MAXLEVEL to optimal value given 2^64 elements and p=0.25
2020-02-04 10:23:48 +01:00
John Sully
6bb1429a46
module fixes
...
Former-commit-id: ef4e11ecb8a6f1a05bb21f014120b0ef9e771b60
2020-02-04 01:22:25 -05:00