]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: share_pg_info shares past_itnervals, not PastIntervals()
authorSage Weil <sage@redhat.com>
Fri, 1 Dec 2017 15:27:21 +0000 (09:27 -0600)
committerSage Weil <sage@redhat.com>
Sat, 2 Dec 2017 03:16:22 +0000 (21:16 -0600)
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 <sage@redhat.com>
src/osd/PG.cc

index 249d00548eabfb40933128934b698d9654734dee..e7eb211b98b5cac1d9be14ba637d8036af3a5129 100644 (file)
@@ -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());
   }
 }