summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_metadata.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2019-03-16 00:31:20 +0100
committerCasey Bodley <cbodley@redhat.com>2019-07-29 21:20:46 +0200
commitee2370253247edd6ac7e713f65a970764240bd16 (patch)
tree0b44d5b2a47fb968d3e87b655f460b8a595430c9 /src/rgw/rgw_rest_metadata.cc
parentrgw: initial meta manager refactoring (diff)
downloadceph-ee2370253247edd6ac7e713f65a970764240bd16.tar.xz
ceph-ee2370253247edd6ac7e713f65a970764240bd16.zip
rgw: more progress with meta restructure
Getting closer, but not there yet Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest_metadata.cc')
-rw-r--r--src/rgw/rgw_rest_metadata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/rgw_rest_metadata.cc b/src/rgw/rgw_rest_metadata.cc
index a7b185e5a25..8a8c0263900 100644
--- a/src/rgw/rgw_rest_metadata.cc
+++ b/src/rgw/rgw_rest_metadata.cc
@@ -216,7 +216,7 @@ int RGWOp_Metadata_Put::get_data(bufferlist& bl) {
}
static bool string_to_sync_type(const string& sync_string,
- sync_type_t& type) {
+ RGWMDLogSyncType& type) {
if (sync_string.compare("update-by-version") == 0)
type = APPLY_UPDATES;
else if (sync_string.compare("update-by-timestamp") == 0)
@@ -244,7 +244,7 @@ void RGWOp_Metadata_Put::execute() {
frame_metadata_key(s, metadata_key);
- RGWMetadataHandler::sync_type_t sync_type = RGWMetadataHandler::APPLY_ALWAYS;
+ RGWMetadataHandler::RGWMDLogSyncType sync_type = RGWMetadataHandler::APPLY_ALWAYS;
bool mode_exists = false;
string mode_string = s->info.args.get("update-type", &mode_exists);