PG::replica_scrub: don't adjust pool on max object

Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
Samuel Just 2016-06-02 17:39:09 -07:00
parent 42fad4b76d
commit 8b7b7c7a23

View File

@ -3864,8 +3864,10 @@ void PG::replica_scrub(
// compensate for hobject_t's with wrong pool from sloppy hammer OSDs
hobject_t start = msg->start;
hobject_t end = msg->end;
start.pool = info.pgid.pool();
end.pool = info.pgid.pool();
if (!start.is_max())
start.pool = info.pgid.pool();
if (!end.is_max())
end.pool = info.pgid.pool();
build_scrub_map_chunk(
map, start, end, msg->deep, msg->seed,