From cfd6f23a6949415a50fa03b85871e43b352e649b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 29 Mar 2014 16:57:48 -0700 Subject: [PATCH] osd/ReplicatedPG: tolerate trailing missing clones on cache tiers I missed this case in eb71924ea27e78d97bd45674ef5e6a7fce30932f. Signed-off-by: Sage Weil --- src/osd/ReplicatedPG.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index ab47f76aa264e..23248ee56d780 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -11081,7 +11081,8 @@ void ReplicatedPG::_scrub(ScrubMap& scrubmap) ::decode(snapset, blp); // did we finish the last oid? - if (head != hobject_t()) { + if (head != hobject_t() && + pool.info.cache_mode == pg_pool_t::CACHEMODE_NONE) { osd->clog.error() << mode << " " << info.pgid << " " << head << " missing clones"; ++scrubber.shallow_errors; -- 2.39.5