Skip to content
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

infernalis: osd: call on_new_interval on newly split child PG #6849

Merged
merged 1 commit into from Feb 8, 2016

Conversation

Abhishekvrshny
Copy link

We must call on_new_interval() on any interval change *and* on the
creation of the PG.  Currently we call it from PG::init() and
PG::start_peering_interval().  However, PG::split_into() did not
do so for the child PG, which meant that the new child feature
bits were not properly initialized and the bitwise/nibblewise
debug bit was not correctly set.  That, in turn, could lead to
various misbehaviors, the most obvious of which is scrub errors
due to the sort order mismatch.

Fixes: ceph#13962
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit fb120d7)
ghost pushed a commit that referenced this pull request Feb 8, 2016
…ild PG

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned liewegas and unassigned Abhishekvrshny Feb 8, 2016
@ghost
Copy link

ghost commented Feb 8, 2016

@liewegas does this backport look good to merge ? It passed a run of the infernalis rados suite ( see http://tracker.ceph.com/issues/13750#note-14 for details ), except for rados/singleton-nomsgr/{all/11429.yaml} which also is breaks in various ways on the infernalis branch. Note that all valgrind tests in these suites fail because of an environmental problem ( http://tracker.ceph.com/issues/14664 ). The upgrade/infernalis suite also passes ( http://tracker.ceph.com/issues/13750#note-15 ) except for "radosgw-admin -n client.0 user create" errors ( http://tracker.ceph.com/issues/14665 ) which I believe to be unrelated.

liewegas added a commit that referenced this pull request Feb 8, 2016
osd: call on_new_interval on newly split child PG

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 5469e99 into ceph:infernalis Feb 8, 2016
@Abhishekvrshny Abhishekvrshny changed the title osd: call on_new_interval on newly split child PG infernalis: osd: call on_new_interval on newly split child PG Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants