From: David Zafman Date: Sat, 24 Jun 2017 02:15:45 +0000 (-0700) Subject: osd: Clear object context cache to get repair information X-Git-Tag: v12.1.2~1^2~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=640c00456c926f2344fbf0e024568d4c19a6f3a2;p=ceph.git osd: Clear object context cache to get repair information Signed-off-by: David Zafman --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index fc89d8eb11f7..2b6b966d1d2e 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -13846,6 +13846,9 @@ void PrimaryLogPG::_scrub_finish() publish_stats_to_osd(); share_pg_info(); } + // Clear object context cache to get repair information + if (repair) + object_contexts.clear(); } bool PrimaryLogPG::check_osdmap_full(const set &missing_on)