Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.2.2
-
Triaged
-
0
-
No
-
KV 2023-4
Description
ns_server will see many different issues manifest as a "{error, no_stats_for_this_vbucket}" when it comes to gathering dcp-vbtakeover stats for some vBucket/stream. The following issues manifest in this way:
1) The vBucket does not exist in memcached
2) The connection with the given name does not exist in memcached
3) The connection exists but the stream does not
4) The connection exists, an ActiveStream exists, but the stream has state dead
5) Memcached returns some header with 0 length key
6) Memcached does not return any stat for the "status" key
Whilst logs give us some clue of which errors we can expect to have not hit, having the information at the point of error is always much clearer.
Attachments
For Gerrit Dashboard: MB-59522 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
200933,5 | MB-59522: Explicitly handle "good" statuses for takeover stats | master | ns_server | Status: MERGED | +2 | +1 |
200934,5 | MB-59522: Change base accumulator status for takeover stats | master | ns_server | Status: MERGED | +2 | +1 |
200938,5 | MB-59522: Return better statuses for failure to get takeover stats | master | kv_engine | Status: MERGED | +2 | +1 |