]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::hit_set_setup: fix hit_set_remove_all call 6119/head
authorSamuel Just <sjust@redhat.com>
Mon, 21 Sep 2015 18:16:49 +0000 (11:16 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 23 Sep 2015 00:40:48 +0000 (17:40 -0700)
commit36e4a80c39f7daab2a35efc04650ae8b7b11c4e0
treee298c1ec70f68d5bb2509b5b36f7b8b2f0fe8670
parent8e5a801b43babf751b619ed9606d7be7e5b12837
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>
src/osd/ReplicatedPG.cc