Yuan Wang
662cb2fe75
Don't send unnecessary PING to replicas ( #13790 )
...
The reason why master sends PING is to keep the connection with replica
active, so master need not send PING to replicas if already sent
replication stream in the past `repl_ping_slave_period` time.
Now master only sends PINGs and increases `master_repl_offset` if there
is no traffic, so this PR also can reduce the impact of issue in
https://github.com/redis/redis/pull/13773 , of course, does not resolve
it completely.
> Fix ping causing inconsistency between AOF size and replication offset
in the future PR. Because we increment the replication offset when
sending PING/REPLCONF to the replica but do not write data to the AOF
file, this might cause the starting offset of the AOF file plus its size
to be inconsistent with the actual replication offset.
2025-02-13 10:52:19 +08:00
..
2025-02-04 21:40:18 +03:00
2024-03-20 22:38:24 +00:00
2025-02-05 11:48:08 +02:00
2025-01-14 15:51:05 +08:00
2025-01-14 15:51:05 +08:00
2024-03-20 22:38:24 +00:00
2022-01-30 19:43:37 +02:00
2021-09-02 11:07:51 +03:00
2024-03-20 22:38:24 +00:00
2024-12-23 14:16:40 +08:00
2024-12-23 14:16:40 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2025-02-13 10:48:29 +08:00
2024-09-18 14:42:32 +08:00
2025-01-07 15:35:47 +08:00
2024-09-29 09:13:21 +03:00
2024-09-29 09:13:21 +03:00
2024-10-29 13:07:26 +02:00
2024-07-11 16:13:38 +08:00
2025-01-14 15:51:05 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2023-03-30 19:03:56 +03:00
2023-03-30 19:03:56 +03:00
2024-03-20 22:38:24 +00:00
2024-01-30 13:43:39 +02:00
2025-02-03 09:54:37 +02:00
2025-02-03 09:54:37 +02:00
2024-12-23 14:16:40 +08:00
2025-02-03 09:54:37 +02:00
2023-03-30 19:03:56 +03:00
2025-01-27 21:05:37 +08:00
2023-07-16 17:04:15 -05:00
2025-01-13 15:09:52 +03:00
2024-12-23 14:16:40 +08:00
2024-12-23 14:16:40 +08:00
2024-12-23 14:16:40 +08:00
2024-03-20 22:38:24 +00:00
2024-03-08 15:50:36 -08:00
2024-03-20 22:38:24 +00:00
2024-11-12 09:21:22 +02:00
2021-11-16 08:55:10 +02:00
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2024-11-12 09:21:22 +02:00
2025-02-05 20:49:42 +02:00
2025-02-05 11:48:08 +02:00
2024-03-20 22:38:24 +00:00
2025-01-24 11:35:32 +08:00
2024-12-25 16:03:22 +08:00
2024-12-25 16:03:22 +08:00
2024-09-13 17:12:27 +08:00
2024-09-12 15:02:32 +03:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2025-01-14 15:51:05 +08:00
2024-12-23 14:16:40 +08:00
2024-12-23 14:16:40 +08:00
2024-10-10 16:58:52 +08:00
2024-10-10 16:58:52 +08:00
2024-03-20 22:38:24 +00:00
2023-09-28 09:21:23 +03:00
2025-01-13 21:20:19 +02:00
2025-01-14 15:51:05 +08:00
2024-11-21 08:22:17 +02:00
2024-09-03 20:54:20 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-12-20 09:39:14 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-12-25 16:03:22 +08:00
2024-12-12 19:41:08 +02:00
2024-12-12 19:41:08 +02:00
2024-11-04 18:18:22 +02:00
2024-03-20 22:38:24 +00:00
2024-10-29 13:07:26 +02:00
2024-03-20 22:38:24 +00:00
2025-01-14 15:51:05 +08:00
2025-01-14 15:51:05 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00: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
2025-01-27 21:04:11 +08:00
2024-03-20 22:38:24 +00:00
2024-01-26 15:01:54 -08:00
2025-02-06 13:16:33 +02:00
2023-10-02 18:58:44 -07:00
2023-05-02 17:31:32 -07:00
2024-04-18 16:06:30 +03:00
2024-05-29 19:47:48 +08:00
2020-12-23 15:52:07 +02:00
2020-12-23 15:52:07 +02:00
2024-12-23 14:16:40 +08:00
2025-02-05 11:48:08 +02:00
2024-11-04 18:18:22 +02:00
2025-02-04 21:40:18 +03:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2025-01-07 15:35:47 +08:00
2024-02-22 10:02:38 +02:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-04-18 16:06:30 +03:00
2024-04-18 16:06:30 +03:00
2025-01-13 15:09:52 +03:00
2024-09-03 09:48:44 +03:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-07-07 17:00:19 +03:00
2025-02-13 08:42:38 +08:00
2024-09-03 15:51:46 +08:00
2024-03-20 22:38:24 +00:00
2025-02-06 13:16:33 +02:00
2024-03-20 22:38:24 +00:00
2025-02-13 10:52:19 +08:00
2024-09-15 21:37:29 +08:00
2024-03-20 22:38:24 +00:00
2025-01-13 15:09:52 +03:00
2025-01-13 15:09:52 +03:00
2024-07-16 09:28:47 +08:00
2024-07-16 09:28:47 +08:00
2024-11-21 14:12:58 +03:00
2024-07-04 14:44:42 +08:00
2025-01-14 15:51:05 +08:00
2025-01-14 15:51:05 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2025-02-13 10:52:19 +08:00
2025-02-13 10:52:19 +08:00
2020-10-25 14:14:05 +02:00
2024-03-20 22:38:24 +00:00
2022-11-24 15:27:16 +02:00
2023-04-18 09:53:51 +03:00
2021-11-11 13:51:33 +02:00
2021-07-10 10:04:54 -05:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-12-23 14:16:40 +08:00
2024-03-20 22:38:24 +00:00
2024-12-05 11:14:52 +02:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-05-06 16:55:42 +08:00
2022-07-18 10:56:26 +03:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-12-12 19:41:08 +02:00
2025-01-07 15:35:47 +08:00
2024-10-29 13:07:26 +02:00
2025-01-14 15:51:05 +08:00
2025-02-05 20:49:42 +02:00
2025-01-07 15:35:47 +08:00
2024-04-18 16:06:30 +03:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2025-01-26 10:14:43 +08:00
2024-12-23 14:16:40 +08:00
2024-12-23 14:16:40 +08:00
2024-12-26 12:37:23 +08:00
2024-11-28 18:33:58 +02:00
2020-12-06 14:54:34 +02:00
2020-10-11 17:21:58 +03:00
2025-01-14 15:51:05 +08:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-03-20 22:38:24 +00:00
2024-08-19 13:22:16 +03:00
2024-04-16 12:43:33 +03:00