]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::hit_set_setup: fix hit_set_remove_all call 5825/head
authorSamuel Just <sjust@redhat.com>
Mon, 21 Sep 2015 18:16:49 +0000 (11:16 -0700)
committerKefu Chai <kchai@redhat.com>
Fri, 9 Oct 2015 10:22:45 +0000 (03:22 -0700)
commit6a4734a7afecb359b8bc9c114332cd7321097c38
tree4b304994ffa32cdadfbad80d477227d20f706ed6
parentab3877dd566f3951e76abaa6b7deeb5835a512b1
ReplicatedPG::hit_set_setup: fix hit_set_remove_all call

We only want to do it if the pool config changed AND we are
primary && active.

fd38902dd4693b9b72f7532833e78f5df2c9efa5 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 36e4a80c39f7daab2a35efc04650ae8b7b11c4e0)
src/osd/ReplicatedPG.cc