John Sully
d57fa7c8f9
Merge commit '349aa24511253b3e323064b95cefb4414f31726c' into redis_6_merge
...
Former-commit-id: 28cbed1d13
2020-04-14 20:09:53 -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
947bf289a5
Merge commit 'f42ce57d0f7eee6705fb0a81714cabe97a4f2c0a' into redis_6_merge
...
Former-commit-id: 5589a0a69c
2020-04-14 19:22:44 -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
7ee5ad6430
Merge commit '721a39ddff0eb9be822d27dba80267f6da149aff' into redis_6_merge
...
Former-commit-id: 6f621e6480
2020-04-14 18:29:03 -04:00
John Sully
e751664909
Merge commit 'cbabf779c24fd107ca8e4fe6369e4677ad0eda10' into redis_6_merge
...
Former-commit-id: 8e33c2d301
2020-04-14 18:05:10 -04:00
John Sully
8f4c9d6403
Merge commit 'ecd17e819cbb05110a49d81c6fda10e6770a7838' into redis_6_merge
...
Former-commit-id: 52aca124c3
2020-04-14 18:04:51 -04:00
antirez
eafcca9f29
Jump to right label on AOF parsing error.
...
Related to #6054 .
Former-commit-id: c7159d58f1
2020-04-14 18:03:22 -04:00
antirez
0fac746f0e
PSYNC2: meaningful offset implemented.
...
A very commonly signaled operational problem with Redis master-replicas
sets is that, once the master becomes unavailable for some reason,
especially because of network problems, many times it wont be able to
perform a partial resynchronization with the new master, once it rejoins
the partition, for the following reason:
1. The master becomes isolated, however it keeps sending PINGs to the
replicas. Such PINGs will never be received since the link connection is
actually already severed.
2. On the other side, one of the replicas will turn into the new master,
setting its secondary replication ID offset to the one of the last
command received from the old master: this offset will not include the
PINGs sent by the master once the link was already disconnected.
3. When the master rejoins the partion and is turned into a replica, its
offset will be too advanced because of the PINGs, so a PSYNC will fail,
and a full synchronization will be required.
Related to issue #7002 and other discussion we had in the past around
this problem.
Former-commit-id: 5d6e8fe3e3
2020-04-14 17:56:09 -04:00
Oran Agra
10a7bfe3a2
reduce repeated calls to use_diskless_load
...
this function possibly iterates on the module list
Former-commit-id: 99762dac23
2020-04-14 17:34:36 -04:00
John Sully
f084ee6f17
Fix merge conflicts from cherry-pick
...
Former-commit-id: 57956b3fd2
2020-04-14 17:33:54 -04:00
antirez
34f7c653d5
Remove RDB files used for replication in persistence-less instances.
...
Former-commit-id: b323645227
2020-04-14 17:27:05 -04:00
Johannes Truschnigg
1a078be843
Signal systemd readiness atfer Partial Resync
...
"Partial Resynchronization" is a special variant of replication success
that we have to tell systemd about if it is managing redis-server via a
Type=Notify service unit.
Former-commit-id: dd9502f373
2020-04-14 17:22:30 -04:00
Guy Benoish
234e6e7b09
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).
Former-commit-id: aa8a3077a2
2020-04-14 17:21:10 -04:00
John Sully
945f40c76a
Fix failure to AUTH with master when masterauth is set last
...
Former-commit-id: 3fdc8608f3
2020-04-06 01:24:59 -04:00
John Sully
e9d1f9bc6c
Merge branch 'redis_6_merge' of https://github.com/JohnSully/KeyDB into redis_6_merge
...
Former-commit-id: 95b4f899c5
2020-03-30 00:52:43 -04:00
John Sully
4cf5373b9c
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 2946155313
2020-03-30 00:52:12 -04:00
John Sully
754138a94c
Allow active replicas to connect to each other when replica-serve-stale-data is set
...
Former-commit-id: f2ca2aa1f7
2020-03-30 00:51:40 -04:00
John Sully
b28c7298ce
Don't send build log to stderr
...
Former-commit-id: b20bf10fda
2020-03-28 23:36:57 -04:00
John Sully
623c617042
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 208c15bc16
2020-03-27 14:50:37 -04:00
John Sully
6283ca8a2c
Raspberry Pi fixes (compile and replication)
...
Former-commit-id: c3d3c82f3a
2020-03-27 12:46:25 -04:00
John Sully
8011cc3c6d
Fix merge issues
...
Former-commit-id: b22d9cc27d
2020-03-25 22:26:27 -04:00
John Sully
aaa751acb8
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 908cf5042e
2020-03-25 22:12:22 -04:00
John Sully
356ed25c62
Fix issue #143
...
Former-commit-id: 6ec1641294
2020-03-25 21:55:31 -04:00
John Sully
5e96404ad8
Give a better error when handling std::terminate
...
Former-commit-id: 7b79ec360b
2020-03-25 16:27:24 -04:00
John Sully
af459476ea
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 718aee242d
2020-03-25 15:47:12 -04:00
John Sully
d5c4d4999b
Add roundtrip test for subkey expires
...
Former-commit-id: 56fc6b7deb
2020-03-25 15:34:30 -04:00
John Sully
7b2b437539
Fix failure to load subkey expires
...
Former-commit-id: 528a43bd6c
2020-03-25 01:38:58 -04:00
John Sully
70faf2f375
Expire entry needs to be resorted after a subkey expires
...
Former-commit-id: b357803362
2020-03-25 01:06:40 -04:00
John Sully
b057a9cd7a
Unstable branch should always be version 0.0.0
...
Former-commit-id: 448808529a
2020-03-19 15:52:24 -04:00
John Sully
dada212214
Merge branch 'RELEASE_5' into unstable
...
Former-commit-id: a0bc208412
2020-03-19 15:38:16 -04:00
John Sully
69806aaa7b
Print stack traces of other threads in the deadlock detector
...
Former-commit-id: 6b0172b9bf
2020-03-19 15:37:49 -04:00
John Sully
1bdccb3c42
Log which thread a message came from
...
Former-commit-id: bc1eccb66d
2020-03-19 15:37:24 -04:00
John Sully
4d5d7ed59f
Fix lock inversion in processEventsWhileBlocked
...
Former-commit-id: a9249d4a82
2020-03-19 15:28:39 -04:00
John Sully
87626299a6
Prevent dangling lock when we can't free the client
...
Former-commit-id: 3c373494d6
2020-03-19 14:34:23 -04:00
John Sully
3df47fa3ab
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 40761e4031
2020-03-17 00:09:48 -04:00
John Sully
42027c533a
Fix issue #153 : Config get replicaof returns a corrupt response
...
Former-commit-id: 5aef606d3b
2020-03-16 20:43:46 -04:00
John Sully
c7f1eab8a4
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 4671cd6002
2020-03-15 18:47:27 -04:00
John Sully
15df3ed91d
Handle HTTP error codes with MOTD
...
Former-commit-id: 2ec0b2cd20
2020-03-15 18:47:01 -04:00
John Sully
d73ac7e377
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 07effa3925
2020-03-15 18:33:24 -04:00
John Sully
3b1f36a521
Update MOTD URL
...
Former-commit-id: cd76a71de3
2020-03-15 18:32:05 -04:00
John Sully
0114827642
Fix CLANG build break
...
Former-commit-id: 5e63c0955d
2020-03-04 17:24:17 -05:00
John Sully
09f08908e2
Fix CLANG build break
...
Former-commit-id: e523afa741
2020-03-04 17:24:00 -05:00
John Sully
b3e33daf7d
Fix CLANG build break
...
Former-commit-id: c2a98a60f9
2020-03-04 17:23:40 -05:00
John Sully
2833febaa5
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 6bc92d6d31
2020-03-04 17:13:50 -05:00
John Sully
43befe9985
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 13cf8bbeb7
2020-03-04 17:13:32 -05:00
John Sully
3dbe23f513
Add missing files from last checkin
...
Former-commit-id: 60c0d4104d
2020-03-04 17:13:18 -05:00
John Sully
a669a40ac6
Merge branch 'unstable' into redis_6_merge
...
Former-commit-id: 52fd4445a4
2020-03-04 17:13:01 -05:00
John Sully
6a254a8d39
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: 693ba4ed4a
2020-03-04 17:09:29 -05:00