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

stuck recovering, unfound hit set due to removing it while !active #6147

Closed
wants to merge 4 commits into from
Closed

stuck recovering, unfound hit set due to removing it while !active #6147

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 2, 2015

wonzhq and others added 4 commits October 2, 2015 13:13
When hit set is not configured on startup or on a change, remove all
previous hitsets.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
(cherry picked from commit be28319)
Only the primary PG is allowed to remove all the hit set objects. And
the PG should be in the active or peered states.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
(cherry picked from commit fd38902)
Otherwise impl is unpopulated and we risk segfaults in several
methods.  It also seems like it would always indicate a bug.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 8e5a801)
We only want to do it if the pool config changed AND we are
primary && active.

fd38902 partially fixed a related
bug.  This should be backported along with it.

Fixes: 13192
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 36e4a80)
@ghost ghost self-assigned this Oct 2, 2015
@ghost ghost added this to the hammer milestone Oct 2, 2015
@ghost ghost added bug-fix core labels Oct 2, 2015
ghost pushed a commit that referenced this pull request Oct 2, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Oct 3, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Oct 3, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Oct 3, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Oct 7, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Oct 8, 2015
…moving it while !active

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@tchaikov
Copy link
Contributor

tchaikov commented Oct 9, 2015

@dachary i am closing this pr, as #5825 has these commits in it already.

@tchaikov tchaikov closed this Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants