From 4e627691a9874582cb07c821b3466c359cdff3c1 Mon Sep 17 00:00:00 2001 From: XiaoxiWang Date: Mon, 24 Aug 2020 23:30:39 +0000 Subject: [PATCH] add throttle objects into Schemas.cpp --- .../sphinx/source/mr-status-json-schemas.rst.inc | 2 +- fdbclient/Schemas.cpp | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/documentation/sphinx/source/mr-status-json-schemas.rst.inc b/documentation/sphinx/source/mr-status-json-schemas.rst.inc index 46086caead..7e773b57ed 100644 --- a/documentation/sphinx/source/mr-status-json-schemas.rst.inc +++ b/documentation/sphinx/source/mr-status-json-schemas.rst.inc @@ -319,7 +319,7 @@ "count" : 0 }, "manual" : { - "count" : 1 + "count" : 0 }, "recommend" : { "busy_read" : 0, diff --git a/fdbclient/Schemas.cpp b/fdbclient/Schemas.cpp index c5630730ed..d2f60134d5 100644 --- a/fdbclient/Schemas.cpp +++ b/fdbclient/Schemas.cpp @@ -341,11 +341,18 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema( "batch_released_transactions_per_second":0, "released_transactions_per_second":0, "throttled_tags":{ - "auto":{ - "count":0 + "auto" : { + "busy_read" : 0, + "busy_write" : 0, + "count" : 0 }, - "manual":{ - "count":0 + "manual" : { + "count" : 0 + }, + "recommend" : { + "busy_read" : 0, + "busy_write" : 0, + "count" : 0 } }, "limiting_queue_bytes_storage_server":0,