]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
RGW - Zipper bucket/object lifecycle in librgw
authorDaniel Gryniewicz <dang@redhat.com>
Tue, 31 Aug 2021 13:17:55 +0000 (09:17 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Fri, 17 Sep 2021 13:43:01 +0000 (09:43 -0400)
commit80aaddba43868d575314a8675febfcfa31c060de
treeee09f239d46930c852b816fc85d71a368597177c
parentd4fc4ecf0aac78f1c767e7a77599364bdf29e062
RGW - Zipper bucket/object lifecycle in librgw

s->bucket and s->object need to have a single lifecycle across an entire
op, never replaced, since lots of things use pointers to them.

Make sure s->bucket is created in read_permissions(), and that s->object
is created with the correct bucket.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/rgw/rgw_file.h
src/rgw/rgw_op.cc