secwall
103365fe0e
Log unexpected $ENDOFF responses in dual channel replication ( #839 )
...
I've tried to test a dual channel replication but forgot to add +sync
for my replication user. As a result replica entered silent cycle like
this:
```
* Connecting to PRIMARY 127.0.0.1:6379
* PRIMARY <-> REPLICA sync started
* Non blocking connect for SYNC fired the event.
* Primary replied to PING, replication can continue...
* Trying a partial resynchronization (request ...)
* PSYNC is not possible, initialize RDB channel.
* Aborting dual channel sync
```
And primary got endless cycle like this:
```
* Replica 127.0.0.1:6380 asks for synchronization
* Partial resynchronization not accepted: Replication ID mismatch (Replica asked for '...', my replication IDs are '...' and '...')
* Replica 127.0.0.1:6380 is capable of dual channel synchronization, and partial sync isn't possible. Full sync will continue with dedicated RDB channel.
```
There was no way to understand that replication user is missing +sync
acl on notice log level. With this one-line change we get a warning
message in our replica log.
---------
Signed-off-by: secwall <secwall@yandex-team.ru>
2024-08-14 22:00:57 -07:00
..
2024-07-26 16:06:16 -07:00
2024-08-14 09:20:36 -07:00
2024-06-03 12:22:06 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-04-10 08:59:45 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2024-06-16 21:18:20 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-06 21:14:18 +08:00
2024-08-07 16:14:16 -07:00
2024-07-29 21:50:46 -07:00
2024-08-14 09:20:36 -07:00
2024-07-22 18:03:28 -07:00
2024-05-22 23:24:12 -07:00
2024-07-03 21:27:45 +02:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-04-09 10:24:03 +02:00
2024-08-14 09:20:36 -07:00
2024-05-02 20:00:04 -07:00
2024-05-02 20:00:04 -07:00
2024-05-08 12:17:32 -07:00
2024-04-30 19:32:01 -07:00
2024-04-30 19:32:01 -07:00
2024-04-30 19:32:01 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2023-09-28 09:21:23 +03:00
2024-06-07 01:40:55 +02:00
2024-06-30 11:33:10 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-07-23 22:24:41 -07:00
2024-07-18 19:21:45 -07:00
2024-07-02 15:45:37 -07:00
2024-07-02 15:45:37 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-28 09:27:51 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-06-30 11:33:10 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-04-05 21:15:57 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2023-05-02 17:31:32 -07:00
2020-12-23 15:52:07 +02:00
2020-12-23 15:52:07 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-06-26 09:47:59 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-07-15 14:04:22 +02:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 22:00:57 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-07-14 20:04:47 -07:00
2024-06-07 01:40:55 +02:00
2024-07-22 18:03:28 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2020-10-25 14:14:05 +02:00
2024-08-14 09:20:36 -07:00
2024-05-09 19:44:40 -07:00
2024-05-09 19:44:40 -07:00
2021-11-11 13:51:33 +02:00
2021-07-10 10:04:54 -05:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-06-07 14:21:33 -07:00
2024-05-06 00:09:01 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2022-05-22 17:10:31 +03:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-28 09:27:51 -07:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-07-08 20:01:39 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2020-12-06 14:54:34 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-07-10 13:53:52 +02:00
2024-04-17 14:38:21 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00