mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-01 02:37:02 +08:00
get_client_status: fix formatting in comments
This commit is contained in:
parent
46178f4c74
commit
4a178fe658
@ -2392,7 +2392,7 @@ const char* initializationStateToString(MultiVersionDatabase::InitializationStat
|
|||||||
// "DatabaseStatus" : <Native Database status report, present if successfully retrieved>,
|
// "DatabaseStatus" : <Native Database status report, present if successfully retrieved>,
|
||||||
// "ErrorRetrievingDatabaseStatus" : <error code of retrieving status of the Native Database, present if failed>,
|
// "ErrorRetrievingDatabaseStatus" : <error code of retrieving status of the Native Database, present if failed>,
|
||||||
// "AvailableClients" : [
|
// "AvailableClients" : [
|
||||||
// { "ProtocolVersion" : <protocol version of the client>,
|
// { "ProtocolVersion" : <protocol version of the client>,
|
||||||
// "ReleaseVersion" : <release version of the client>,
|
// "ReleaseVersion" : <release version of the client>,
|
||||||
// "ThreadIndex" : <the index of the client thread serving this database>
|
// "ThreadIndex" : <the index of the client thread serving this database>
|
||||||
// },
|
// },
|
||||||
|
@ -722,27 +722,27 @@ public:
|
|||||||
|
|
||||||
// Get client-side status information as a JSON string with the following schema:
|
// Get client-side status information as a JSON string with the following schema:
|
||||||
// { "Healthy" : <overall health status: true or false>,
|
// { "Healthy" : <overall health status: true or false>,
|
||||||
// "ClusterID" : <UUID>,
|
// "ClusterID" : <UUID>,
|
||||||
// "Coordinators" : [ <address>, ... ],
|
// "Coordinators" : [ <address>, ... ],
|
||||||
// "CurrentCoordinator" : <address>
|
// "CurrentCoordinator" : <address>
|
||||||
// "GrvProxies" : [ <address>, ... ],
|
// "GrvProxies" : [ <address>, ... ],
|
||||||
// "CommitProxies" : [ <address>", ... ],
|
// "CommitProxies" : [ <address>", ... ],
|
||||||
// "StorageServers" : [ { "Address" : <address>, "SSID" : <Storage Server ID> }, ... ],
|
// "StorageServers" : [ { "Address" : <address>, "SSID" : <Storage Server ID> }, ... ],
|
||||||
// "Connections" : [
|
// "Connections" : [
|
||||||
// { "Address" : "<address>",
|
// { "Address" : "<address>",
|
||||||
// "Status" : <failed|connected|connecting|disconnected>,
|
// "Status" : <failed|connected|connecting|disconnected>,
|
||||||
// "Compatible" : <is protocol version compatible with the client>,
|
// "Compatible" : <is protocol version compatible with the client>,
|
||||||
// "ConnectFailedCount" : <number of failed connection attempts>,
|
// "ConnectFailedCount" : <number of failed connection attempts>,
|
||||||
// "LastConnectTime" : <elapsed time in seconds since the last connection attempt>,
|
// "LastConnectTime" : <elapsed time in seconds since the last connection attempt>,
|
||||||
// "PingCount" : <total ping count>,
|
// "PingCount" : <total ping count>,
|
||||||
// "PingTimeoutCount" : <number of ping timeouts>,
|
// "PingTimeoutCount" : <number of ping timeouts>,
|
||||||
// "BytesSampleTime" : <elapsed time of the reported the bytes received and sent values>,
|
// "BytesSampleTime" : <elapsed time of the reported the bytes received and sent values>,
|
||||||
// "BytesReceived" : <bytes received>,
|
// "BytesReceived" : <bytes received>,
|
||||||
// "BytesSent" : <bytes sent>,
|
// "BytesSent" : <bytes sent>,
|
||||||
// "ProtocolVersion" : <protocol version of the server, missing if unknown>
|
// "ProtocolVersion" : <protocol version of the server, missing if unknown>
|
||||||
// },
|
// },
|
||||||
// ...
|
// ...
|
||||||
// ]
|
// ]
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// The addresses in the Connections array match the addresses of Coordinators, GrvProxies,
|
// The addresses in the Connections array match the addresses of Coordinators, GrvProxies,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user