]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: send infos via message_map (not info_map)
authorSage Weil <sage@redhat.com>
Thu, 22 Aug 2019 15:40:29 +0000 (10:40 -0500)
committerSage Weil <sage@redhat.com>
Mon, 9 Sep 2019 16:22:11 +0000 (11:22 -0500)
commit56c542ccb37f489e653b4adfe1c5346a8b07d9c7
tree14f4129ea527889517937190defcba1de48e4345
parent362421c2f93d8d628f8433177be0c303c25d81cc
osd/PeeringState: send infos via message_map (not info_map)

Queue up separate message for each.

Note that even though we are currenting sending this via a pg_notify_t,
not all of those fields are needed or consumed on the other end (notably,
PastIntervals is not used by handle_fast_pg_info).  Only pass the fields
we need to send_info() so that we can improve the transport to be less
weird later.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PeeringState.cc
src/osd/PeeringState.h