New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd/PG: set clean when last_epoch_clean is updated #15555

Merged
merged 2 commits into from Jun 26, 2017

Conversation

Projects
None yet
5 participants
@liewegas
Member

liewegas commented Jun 7, 2017

These need to be in sync.

Fixes: http://tracker.ceph.com/issues/19023

athanatos added some commits Feb 23, 2017

PG: set CLEAN if we have enough replicas
Previously, we'd only set CLEAN if we were not also remapped, but we'd
set last_epoch_clean anyway.  Unfortunately, that wasn't consistent with
pg_stat_t::get_effective_last_epoch_clean() which requires that the
CLEAN bit be set to continue trimming while the pg state isn't changing.

Signed-off-by: Samuel Just <sjust@redhat.com>
@jdurgin

jdurgin approved these changes Jun 9, 2017

@tchaikov

This comment has been minimized.

@tchaikov tchaikov merged commit 0780f9e into ceph:master Jun 26, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment