Add the new messages to Schema.
This commit is contained in:
parent
4a99bd2961
commit
9169232fa9
|
@ -322,7 +322,9 @@
|
|||
"storage_servers_error",
|
||||
"status_incomplete",
|
||||
"layer_status_incomplete",
|
||||
"database_availability_timeout"
|
||||
"database_availability_timeout",
|
||||
"consistencycheck_suspendkey_fetch_timeout",
|
||||
"consistencycheck_disabled"
|
||||
]
|
||||
},
|
||||
"issues":[
|
||||
|
|
|
@ -346,7 +346,9 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema(
|
|||
"storage_servers_error",
|
||||
"status_incomplete",
|
||||
"layer_status_incomplete",
|
||||
"database_availability_timeout"
|
||||
"database_availability_timeout",
|
||||
"consistencycheck_suspendkey_fetch_timeout",
|
||||
"consistencycheck_disabled"
|
||||
]
|
||||
},
|
||||
"issues":[
|
||||
|
|
|
@ -1055,7 +1055,7 @@ ACTOR static Future<Void> consistencyCheckStatusFetcher(Database cx, JsonBuilder
|
|||
break;
|
||||
} catch(Error &e) {
|
||||
if(e.code() == error_code_timed_out) {
|
||||
messages->push_back(JsonString::makeMessage("consistencycheck_fetch_timeout",
|
||||
messages->push_back(JsonString::makeMessage("consistencycheck_suspendkey_fetch_timeout",
|
||||
format("Timed out trying to fetch `%s` from the database.", fdbShouldConsistencyCheckBeSuspended.toString().c_str()).c_str()));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue