]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: fix should_use_msgr2 behavior (including monc)
authorSage Weil <sage@redhat.com>
Sun, 27 Jan 2019 13:32:21 +0000 (07:32 -0600)
committerSage Weil <sage@redhat.com>
Sun, 27 Jan 2019 13:33:51 +0000 (07:33 -0600)
commit1881d9abbad11a76c693cafc7b1b51598c71ced8
treee17c89a5a63810934f0150d3751de1073594cd90
parent6e933fe1b8f2863deb76a7e0accd9f315d1cb6f0
msg/async: fix should_use_msgr2 behavior (including monc)

Be consistent about whether we should use v2 to connect or not, and fix
teh monclient check to use the same logic.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonClient.cc
src/msg/Messenger.h
src/msg/async/AsyncMessenger.cc
src/msg/async/AsyncMessenger.h