]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: copy the reqids even if the object is deleted during promotion
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Wed, 10 Jun 2015 06:21:36 +0000 (14:21 +0800)
committerSamuel Just <sjust@redhat.com>
Tue, 18 Aug 2015 18:25:24 +0000 (11:25 -0700)
commitb7225a4834ee741fbc710ec875b05b60e69802ca
tree2670246c7de0dc52d531318f04f316fa38e9931c
parentda68bb371f8b06b85a73077cd069a294193ac6c0
osd: copy the reqids even if the object is deleted during promotion

If the object is deleted on the base tier, and the reqids are not copied
during promotion, this again leads to the 'ops not idempotent' problem.
For the copy-get op, this fix copies the reqids even if the object doesn't
exist.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osdc/Objecter.h