mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
flushed the formatter after closing the primary section in MDLOG, BILOG and GETSHARDINFO :: list()
Signed-off-by: Babu Shanmugam <anbu@enovance.com>
This commit is contained in:
parent
64d1178fa9
commit
d20e30a744
@ -88,6 +88,7 @@ void RGWOp_MDLog_List::send_response() {
|
||||
flusher.flush();
|
||||
}
|
||||
s->formatter->close_section();
|
||||
flusher.flush();
|
||||
}
|
||||
|
||||
void RGWOp_MDLog_GetShardsInfo::execute() {
|
||||
@ -103,6 +104,7 @@ void RGWOp_MDLog_GetShardsInfo::send_response() {
|
||||
s->formatter->open_object_section("num_objects");
|
||||
s->formatter->dump_unsigned("num_objects", num_objects);
|
||||
s->formatter->close_section();
|
||||
flusher.flush();
|
||||
}
|
||||
|
||||
void RGWOp_MDLog_Delete::execute() {
|
||||
@ -278,6 +280,7 @@ void RGWOp_BILog_List::send_response(list<rgw_bi_log_entry>& entries, string& ma
|
||||
|
||||
void RGWOp_BILog_List::send_response_end() {
|
||||
s->formatter->close_section();
|
||||
flusher.flush();
|
||||
}
|
||||
|
||||
void RGWOp_BILog_Delete::execute() {
|
||||
|
@ -54,7 +54,7 @@ using namespace std;
|
||||
#define HTTP_RESPONSE_STR "RespCode"
|
||||
#define CEPH_CRYPTO_HMACSHA1_DIGESTSIZE 20
|
||||
#define RGW_ADMIN_RESP_PATH "/tmp/.test_rgw_admin_resp"
|
||||
#define TEST_BUCKET_NAME "test_bucket1"
|
||||
#define TEST_BUCKET_NAME "test_bucket"
|
||||
#define TEST_BUCKET_OBJECT "test_object"
|
||||
#define TEST_BUCKET_OBJECT_1 "test_object1"
|
||||
#define TEST_BUCKET_OBJECT_SIZE 1024
|
||||
|
Loading…
Reference in New Issue
Block a user