Details
-
Improvement
-
Status: Done
-
Major
-
Resolution: Done
-
None
Description
This has hit quite a few people and could cause serious issues when upgrading from 6.x to 7. Be good to have a check for it.
DCP names are exposed when requesting the stats group dcp over the memcached protocol - we already have code that uses this data, should be possible to piggyback on it.
Attachments
Issue Links
- relates to
-
MB-34280 Memcached should disallow DCP connections with names greater than 200 characters (was: ns_server connections may be terminated if a client uses a long DCP_OPEN.name)
-
- Closed
-
Verifying this is tricky, because I'm struggling to create a cluster with hostnames such that the DCP stream names are longer than 200 characters but shorter than (255 - length of the longest DCP stat name), otherwise memcached will fail to send the stats reply we're looking for and thus the checker will fail.
Now that we can do Loki alerts (cf.
CMOS-211) I might add a couple rules there for detecting the telltale log messages, that way we can catch this even if Cluster Monitor can't.