From eaba5696fdecbbf0970aec0717ecd6dca9468f68 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 6 Feb 2019 17:43:42 -0600 Subject: [PATCH] msg/async: let client specify preferred order of modes The server side has an allowed list, while the client has an ordered list in order of preference. Note that some of the options are used as both (e.g., cluster_modes) as they are used at both connecting and accepting ends of the connection. Signed-off-by: Sage Weil --- src/common/options.cc | 4 ++-- src/msg/async/ProtocolV2.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 1449abf9d51..5fd88dacacf 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -850,7 +850,7 @@ std::vector