]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::finish_promote: handle results->snaps is empty case 4526/head
authorSamuel Just <sjust@redhat.com>
Wed, 1 Apr 2015 23:37:51 +0000 (16:37 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 1 Apr 2015 23:39:30 +0000 (16:39 -0700)
commit6150757dbe0fa11cceb14460865b859a7c8164c7
treea20e770ddf1d0549ae9430585c614be540935905
parenta45a698372def1623323470c6a1c4eb70e0bb79f
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>
src/osd/ReplicatedPG.cc