]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::finish_promote: handle results->snaps is empty case 5121/head
authorSamuel Just <sjust@redhat.com>
Wed, 1 Apr 2015 23:37:51 +0000 (16:37 -0700)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Wed, 1 Jul 2015 17:44:03 +0000 (23:14 +0530)
commit70347209260688f1a067354c744569499adb6920
treef2e3ee327a8d895b21bf47fa47cdebba4130abdd
parent3e44dc16ed3fbda053996e44826aa3d90042a234
ReplicatedPG::finish_promote: handle results->snaps is empty case

If results->snaps winds up empty after filtering removed snaps,
we need to treat the object as if we had gotten an ENOENT.

PartialFix: #11296
Backport: firefly, hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 6150757dbe0fa11cceb14460865b859a7c8164c7)
src/osd/ReplicatedPG.cc