]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG::get_snapset_context: set exists to false for new ssc with can_create 6017/head
authorSamuel Just <sjust@redhat.com>
Thu, 17 Sep 2015 23:49:53 +0000 (16:49 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 18 Sep 2015 17:03:22 +0000 (10:03 -0700)
commit7b2fa67a937687025ec870bda9185b16730ab9ad
treed3787c285da02d90b4f71be091fb39b45f963b34
parentb615f35a0445d9a1ce7cd4fed9dde4056fa0575c
ReplicatedPG::get_snapset_context: set exists to false for new ssc with can_create

Otherwise, if we do a proxy_write and don't promote it, the ssc will
stick around with exists = true and cause future reads on snaps for the
object to fail to fall through to the base tier.

Fixes: #13150
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedPG.cc