get_client_status: fix formatting in comments

This commit is contained in:
Vaidas Gasiunas 2023-01-16 17:36:32 +01:00
parent 46178f4c74
commit 4a178fe658
2 changed files with 22 additions and 22 deletions

View File

@ -2392,7 +2392,7 @@ const char* initializationStateToString(MultiVersionDatabase::InitializationStat
// "DatabaseStatus" : <Native Database status report, present if successfully retrieved>,
// "ErrorRetrievingDatabaseStatus" : <error code of retrieving status of the Native Database, present if failed>,
// "AvailableClients" : [
// { "ProtocolVersion" : <protocol version of the client>,
// { "ProtocolVersion" : <protocol version of the client>,
// "ReleaseVersion" : <release version of the client>,
// "ThreadIndex" : <the index of the client thread serving this database>
// },

View File

@ -722,27 +722,27 @@ public:
// Get client-side status information as a JSON string with the following schema:
// { "Healthy" : <overall health status: true or false>,
// "ClusterID" : <UUID>,
// "Coordinators" : [ <address>, ... ],
// "CurrentCoordinator" : <address>
// "GrvProxies" : [ <address>, ... ],
// "CommitProxies" : [ <address>", ... ],
// "StorageServers" : [ { "Address" : <address>, "SSID" : <Storage Server ID> }, ... ],
// "Connections" : [
// { "Address" : "<address>",
// "Status" : <failed|connected|connecting|disconnected>,
// "Compatible" : <is protocol version compatible with the client>,
// "ConnectFailedCount" : <number of failed connection attempts>,
// "LastConnectTime" : <elapsed time in seconds since the last connection attempt>,
// "PingCount" : <total ping count>,
// "PingTimeoutCount" : <number of ping timeouts>,
// "BytesSampleTime" : <elapsed time of the reported the bytes received and sent values>,
// "BytesReceived" : <bytes received>,
// "BytesSent" : <bytes sent>,
// "ProtocolVersion" : <protocol version of the server, missing if unknown>
// },
// ...
// ]
// "ClusterID" : <UUID>,
// "Coordinators" : [ <address>, ... ],
// "CurrentCoordinator" : <address>
// "GrvProxies" : [ <address>, ... ],
// "CommitProxies" : [ <address>", ... ],
// "StorageServers" : [ { "Address" : <address>, "SSID" : <Storage Server ID> }, ... ],
// "Connections" : [
// { "Address" : "<address>",
// "Status" : <failed|connected|connecting|disconnected>,
// "Compatible" : <is protocol version compatible with the client>,
// "ConnectFailedCount" : <number of failed connection attempts>,
// "LastConnectTime" : <elapsed time in seconds since the last connection attempt>,
// "PingCount" : <total ping count>,
// "PingTimeoutCount" : <number of ping timeouts>,
// "BytesSampleTime" : <elapsed time of the reported the bytes received and sent values>,
// "BytesReceived" : <bytes received>,
// "BytesSent" : <bytes sent>,
// "ProtocolVersion" : <protocol version of the server, missing if unknown>
// },
// ...
// ]
// }
//
// The addresses in the Connections array match the addresses of Coordinators, GrvProxies,