Skip to content

Commit

Permalink
Merge pull request #16405 from dzafman/wip-20041-jewel
Browse files Browse the repository at this point in the history
jewel: osd: scrub_to specifies clone ver, but transaction include head write ver

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
jdurgin committed Sep 5, 2017
2 parents e4f02b2 + 153f775 commit e9eda5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osd/ReplicatedPG.cc
Expand Up @@ -8320,15 +8320,15 @@ void ReplicatedPG::op_applied(const eversion_t &applied_version)
last_update_applied = applied_version;
if (is_primary()) {
if (scrubber.active) {
if (last_update_applied == scrubber.subset_last_update) {
if (last_update_applied >= scrubber.subset_last_update) {
requeue_scrub();
}
} else {
assert(scrubber.start == scrubber.end);
}
} else {
if (scrubber.active_rep_scrub) {
if (last_update_applied == static_cast<MOSDRepScrub*>(
if (last_update_applied >= static_cast<MOSDRepScrub*>(
scrubber.active_rep_scrub->get_req())->scrub_to) {
osd->op_wq.queue(
make_pair(
Expand Down

0 comments on commit e9eda5a

Please sign in to comment.