From 11dd2b865980b70323e9dcf8e3d81a99d7f150d4 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 4 Sep 2015 17:23:21 -0700 Subject: [PATCH] rgw: decode mdlog notification shards Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_rest_log.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/rgw/rgw_rest_log.cc b/src/rgw/rgw_rest_log.cc index 27a6bdffd95b6..c2da1126928c0 100644 --- a/src/rgw/rgw_rest_log.cc +++ b/src/rgw/rgw_rest_log.cc @@ -289,10 +289,11 @@ void RGWOp_MDLog_Notify::execute() { return; } - list updated_shards; - try { -#warning FIXME - } catch (buffer::error& err) { + set updated_shards; + decode_json_obj(updated_shards, &p); + + for (set::iterator iter = updated_shards.begin(); iter != updated_shards.end(); ++iter) { + ldout(s->cct, 0) << __func__ << "(): updated shard=" << *iter << dendl; } http_ret = 0; -- 2.39.5