From: Sage Weil Date: Fri, 1 Dec 2017 15:27:21 +0000 (-0600) Subject: osd/PG: share_pg_info shares past_itnervals, not PastIntervals() X-Git-Tag: v13.0.2~844^2~30 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c8bfe3fa53323c05f061ae01dba93574f4cf0747;p=ceph.git osd/PG: share_pg_info shares past_itnervals, not PastIntervals() In reality we only call this when the PG is peered and thus past_intervals is empty, but this is more defensive in case that changes someday! Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 249d00548eab..e7eb211b98b5 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5028,7 +5028,7 @@ void PG::share_pg_info() get_osdmap()->get_epoch(), get_osdmap()->get_epoch(), info), - PastIntervals())); + past_intervals)); osd->send_message_osd_cluster(peer.osd, m, get_osdmap()->get_epoch()); } }