Skip to content

Commit

Permalink
Merge pull request #14053 from jdurgin/wip-19191
Browse files Browse the repository at this point in the history
osd/PG: reset the missing set when restarting backfill

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Aug 6, 2017
2 parents 96f3ef6 + 72bf3f0 commit 1a93635
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osd/PG.cc
Expand Up @@ -2230,6 +2230,10 @@ void PG::split_into(pg_t child_pgid, PG *child, unsigned split_bits)
// in the future).
info.set_last_backfill(hobject_t());
child->info.set_last_backfill(hobject_t());
// restarting backfill implies that the missing set is empty,
// since it is only used for objects prior to last_backfill
pg_log.reset_backfill();
child->pg_log.reset_backfill();
}

child->info.stats = info.stats;
Expand Down

0 comments on commit 1a93635

Please sign in to comment.