]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_rest_log.cc
update sources to v12.1.2
[ceph.git] / ceph / src / rgw / rgw_rest_log.cc
index 1dd4216bfe1e3065f64e6870f8584b6aab008c0f..1af8632453bf936de7ad79d8407426846f4e7651 100644 (file)
@@ -493,7 +493,7 @@ void RGWOp_BILog_Info::execute() {
     }
   }
   map<RGWObjCategory, RGWStorageStats> stats;
-  int ret =  store->get_bucket_stats(bucket_info, shard_id, &bucket_ver, &master_ver, stats, &max_marker);
+  int ret =  store->get_bucket_stats(bucket_info, shard_id, &bucket_ver, &master_ver, stats, &max_marker, &syncstopped);
   if (ret < 0 && ret != -ENOENT) {
     http_ret = ret;
     return;
@@ -512,6 +512,7 @@ void RGWOp_BILog_Info::send_response() {
   encode_json("bucket_ver", bucket_ver, s->formatter);
   encode_json("master_ver", master_ver, s->formatter);
   encode_json("max_marker", max_marker, s->formatter);
+  encode_json("syncstopped", syncstopped, s->formatter);
   s->formatter->close_section();
 
   flusher.flush();