Binbin
9851006d6d
Add short client info log to CLUSTER MEET / FORGET / RESET commands ( #1249 )
...
These commands are all administrator commands. If they are operated
incorrectly, serious consequences may occur. Print the full client
info by using catClientInfoString, the info is useful when we want
to identify the source of request.
Since the origin client info is very large and might complicate the
output, we added a catClientInfoShortString function, it will only
print some basic fields, we want these fields that are useful to
identify the client. These fields are:
- id
- addr
- laddr
- connection info
- name
- user
- lib-name
- lib-ver
And also used it to replace the origin client info where it has the
same purpose. Some logging is changed from full client info to short
client info:
- CLUSTER FAILOVER
- FAILOVER / PSYNC
- REPLICAOF NO ONE
- SHUTDOWN
Signed-off-by: Binbin <binloveplay1314@qq.com>
2024-11-23 00:23:38 +08:00
..
2024-11-19 21:53:19 +01:00
2024-11-07 18:01:37 -08:00
2024-11-22 10:29:24 +08:00
2024-09-25 01:22:54 +02:00
2024-05-22 23:24:12 -07:00
2024-04-10 08:59:45 +02:00
2024-10-09 21:20:47 -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-09-27 12:20:47 -07:00
2024-09-27 12:20:47 -07:00
2024-11-21 16:29:21 -08:00
2024-11-21 16:29:21 -08:00
2024-11-21 18:22:16 +02:00
2024-11-21 18:22:16 +02:00
2024-10-15 10:29:52 +08:00
2024-09-25 01:22:54 +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-20 18:54:53 +08: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-09-25 01:22:54 +02: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-11-23 00:23:38 +08:00
2024-11-23 00:22:04 +08:00
2024-10-23 17:11:42 +08:00
2024-07-29 21:50:46 -07:00
2024-09-25 03:55:53 -04:00
2024-10-30 00:19:56 +01:00
2024-11-07 18:01:37 -08:00
2024-09-25 01:22:54 +02:00
2024-11-19 21:53:19 +01:00
2024-05-22 23:24:12 -07:00
2024-11-19 21:53:19 +01:00
2024-10-27 22:43:23 -07:00
2024-05-22 23:24:12 -07:00
2024-10-18 17:48:18 -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-11-21 19:14:28 -08:00
2024-11-23 00:22:04 +08:00
2024-09-25 01:22:54 +02:00
2024-11-21 16:29:21 -08:00
2024-11-14 09:45:47 +01:00
2024-11-14 09:45:47 +01:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-11-18 18:06:35 -08:00
2024-11-19 21:53:19 +01:00
2024-11-19 21:53:19 +01:00
2024-08-14 09:20:36 -07:00
2024-08-26 21:10:44 -07:00
2024-10-04 12:58:42 -07:00
2024-11-21 21:02:05 +08:00
2024-11-21 21:02:05 +08: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-09-25 01:22:54 +02:00
2024-08-27 20:44:32 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-10-21 22:54:40 -04:00
2024-07-18 19:21:45 -07:00
2024-11-18 19:09:35 +08:00
2024-09-02 22:35:24 +08:00
2024-11-14 09:45:47 +01:00
2024-09-25 01:22:54 +02:00
2024-09-02 22:35:24 +08:00
2024-08-14 09:20:36 -07:00
2024-09-25 01:22:54 +02:00
2024-09-09 13:01:25 +08: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-11-21 16:29:21 -08:00
2024-09-25 01:22:54 +02:00
2024-08-26 21:10:44 -07:00
2024-09-25 01:22:54 +02:00
2024-04-05 21:15:57 -07:00
2024-11-14 09:45:47 +01: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-29 19:20:53 +08:00
2024-11-23 00:23:38 +08:00
2024-10-01 04:30:35 -04:00
2024-10-08 08:07:51 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-09-11 09:53:42 -07:00
2024-11-14 10:37:44 +08:00
2024-11-14 10:37:44 +08:00
2024-09-25 01:22:54 +02:00
2024-10-04 12:58:42 -07:00
2024-10-02 19:28:55 +02:00
2024-10-02 19:28:55 +02:00
2024-10-02 19:28:55 +02:00
2024-10-24 09:53:05 -04:00
2024-09-25 01:22:54 +02:00
2024-11-08 09:33:01 +01:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-11-23 00:23:38 +08:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-09-25 01:22:54 +02:00
2024-08-14 09:20:36 -07:00
2024-10-15 23:32:42 +08: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-10-31 11:37:53 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-11-14 09:45:47 +01:00
2024-11-23 00:23:38 +08:00
2024-11-23 00:23:38 +08: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-09-25 01:22:54 +02:00
2024-08-14 09:20:36 -07:00
2024-08-27 16:11:33 +02:00
2024-09-25 01:22:54 +02:00
2024-10-19 14:56:10 +08: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-10-11 21:28:42 -07:00
2024-08-27 19:11:09 -07:00
2024-09-10 22:09:18 +02:00
2024-09-25 01:22:54 +02:00
2024-09-25 01:22:54 +02:00
2024-09-25 01:22:54 +02:00
2024-09-25 01:22:54 +02: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-11-21 18:22:16 +02:00
2024-08-14 09:20:36 -07:00
2024-10-18 17:48:18 -07:00
2024-10-02 19:22:09 -04:00
2024-08-14 09:20:36 -07:00
2020-12-06 14:54:34 +02:00
2024-11-14 09:45:47 +01:00
2024-09-25 01:22:54 +02:00
2024-09-25 01:22:54 +02:00
2024-11-21 18:58:15 -08:00
2024-09-25 01:22:54 +02:00
2024-04-17 14:38:21 +02:00
2024-10-23 14:30:42 -07:00
2024-08-14 09:20:36 -07:00
2024-08-31 15:42:44 +02:00
2024-08-31 15:42:44 +02:00
2024-11-21 16:29:21 -08:00
2024-11-21 16:29:21 -08:00