Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC, SDK2: Log Red, Tracing I
Description
In anticipation of the coming sdk-rfc, please add volatile support for a health check resposne. Per discussion, the format would be approximately…
{
|
"version" : 1,
|
"services" : {
|
"fts" : [
|
{
|
"latency_us" : 877.909,
|
"remote" : "centos7-lx1.home.ingenthron.org:8094",
|
"local" : "127.0.0.1:54669",
|
"state" : "reconnecting",
|
"details" : "RECONNECTING, backoff for 4096ms from Fri Sep 1 00:03:44 PDT 2017"
|
}
|
],
|
"kv" : [
|
{
|
"last_activity_us" : 1182000,
|
"remote" : "centos7-lx1.home.ingenthron.org:11210",
|
"local" : "127.0.0.1:54670",
|
"state" : "connected"
|
}
|
],
|
"n1ql" : [
|
{
|
"latency_us" : 6217,
|
"remote" : "centos7-lx1.home.ingenthron.org:8093",
|
"local" : "127.0.0.1:54671",
|
"state" : "connected"
|
}
|
],
|
"views" : [
|
{
|
"latency_us" : 45585,
|
"remote" : "centos7-lx1.home.ingenthron.org:8092",
|
"local" : "127.0.0.1:54672",
|
"state" : "connected"
|
}
|
]
|
}
|
}
|
Where the "state" field describes the current connection conditions as a FSM:
- "new"
- "connecting"
- "authenticating"
- "connected", normal case, everything operating
- "disconnected", always indicated unexpectedly
- "reconnecting"
- "disconnecting", planned, if say the map changed or the cluster requested a graceful connection shut down; some requests may still be in flight
- "timeout" the server wasn't able to reply to ping request in time. The time should be the same as for corresponding service request.
Goal is for deployments to be able to efficiently/safely check the status of the cluster as the client perceives it. Where possible, the results should amortize the checks already run internally.
Attachments
Issue Links
- mentioned in
-
Page Loading...
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | CBD-2088 [ 72721 ] |
Fix Version/s | 2.5.3 [ 15003 ] | |
Fix Version/s | 2.5.0 [ 14200 ] |
Status | New [ 10003 ] | Open [ 1 ] |
Sprint | SDK 45: IPv6, HC, LRedact [ 482 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Sprint | SDK 45: IPv6, HC [ 482 ] | SDK 45: IPv6, HC, SDK 47: HC, Serv ID, Log Red [ 482, 506 ] |
Rank | Ranked higher |
Sprint | SDK 45: IPv6, HC, SDK 47: HC, Log Redact [ 482, 506 ] | SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK 49: HC, Log Reda, CertAuth [ 482, 506, 510 ] |
Fix Version/s | 2.5.4 [ 15004 ] | |
Fix Version/s | 2.5.3 [ 15003 ] |
Sprint | SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth [ 482, 506, 510 ] | SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC [ 482, 506, 510, 511 ] |
Sprint | SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC [ 482, 506, 510, 511 ] | SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC, SDK2: Log Red,Compression [ 482, 506, 510, 511, 535 ] |
Fix Version/s | 2.5.5 [ 15045 ] | |
Fix Version/s | 2.5.4 [ 15004 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Remote Link | This issue links to "Page (Couchbase, Inc. Wiki)" [ 16287 ] |