From 3144475d4a7da10d5aa333acda9d12ba95f3cca2 Mon Sep 17 00:00:00 2001 From: tporadowski Date: Mon, 31 Aug 2020 13:42:20 +0200 Subject: [PATCH] added missing sentinel options - "known-replica" (equivalent to "known-slave") - "rename-command" --- src/Win32_Interop/Win32_CommandLine.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Win32_Interop/Win32_CommandLine.cpp b/src/Win32_Interop/Win32_CommandLine.cpp index 95985f4d..3e76a60b 100644 --- a/src/Win32_Interop/Win32_CommandLine.cpp +++ b/src/Win32_Interop/Win32_CommandLine.cpp @@ -289,20 +289,22 @@ public: subCommands = RedisParameterMapper { { "monitor", &fp4 }, // sentinel monitor [master name] [ip] [port] [quorum] - { "auth-pass", &fp2 }, // sentinel auth-pass [master name] [password] { "down-after-milliseconds", &fp2 }, // sentinel down-after-milliseconds [master name] [milliseconds] - { "parallel-syncs", &fp2 }, // sentinel parallel-syncs [master name] [number] { "failover-timeout", &fp2 }, // sentinel failover-timeout [master name] [number] + { "parallel-syncs", &fp2 }, // sentinel parallel-syncs [master name] [number] { "notification-script", &fp2 }, // sentinel notification-script [master name] [scriptPath] { "client-reconfig-script", &fp2 }, // sentinel client-reconfig-script [master name] [scriptPath] - { "config-epoch", &fp2 }, // sentinel config-epoch [name] [epoch] + { "auth-pass", &fp2 }, // sentinel auth-pass [master name] [password] { "current-epoch", &fp1 }, // sentinel current-epoch + { "myid", &fp1 }, // sentinel myid + { "config-epoch", &fp2 }, // sentinel config-epoch [name] [epoch] { "leader-epoch", &fp2 }, // sentinel leader-epoch [name] [epoch] { "known-slave", &fp3 }, // sentinel known-slave + { "known-replica", &fp3 }, // sentinel known-slave { "known-sentinel", &fp4 }, // sentinel known-sentinel [runid] + { "rename-command", &fp3 }, // sentinel rename-command { "announce-ip", &fp1 }, // sentinel announce-ip { "announce-port", &fp1 }, // sentinel announce-port - { "myid", &fp1 }, // sentinel myid { "deny-scripts-reconfig", &fp1 } // sentinel deny-scripts-reconfig [yes/no] }; }