]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: meta_be, bucket: meta be context can be strongly typed
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 5 Jun 2019 00:49:18 +0000 (17:49 -0700)
committerCasey Bodley <cbodley@redhat.com>
Mon, 29 Jul 2019 19:20:48 +0000 (15:20 -0400)
commit34295b95ac11d28e8a4263481d7f1c3dfa711d41
treef5ed0ff5ef8a991efa9b9105b4eb95c6fcaa1ee8
parentb9d27f091617a18f4e58383d87a0d5cc9b4db300
rgw: meta_be, bucket: meta be context can be strongly typed

When passing around the ctx for higher level non-generic functionality
it is better to have a strongly typed context. This is especially important
in the bucket entrypoint and bucket instance case where we can accidentally
confuse the two. There were cases where we created one and used it where
the other one was needed.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/services/svc_bucket.cc
src/rgw/services/svc_bucket.h
src/rgw/services/svc_bucket_types.h [new file with mode: 0644]