]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: only remove all the hit set objects on primary osd 4998/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Thu, 23 Jul 2015 01:26:44 +0000 (09:26 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Fri, 21 Aug 2015 07:48:20 +0000 (15:48 +0800)
commitfd38902dd4693b9b72f7532833e78f5df2c9efa5
tree14b39d59e6e3ad6eda4aa7bff36f08a8074a1d3a
parent5812adb6c86660e5ae6fa30baa70480d8fc52052
osd: only remove all the hit set objects on primary osd

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>
src/osd/ReplicatedPG.cc