Description
ns_server uses the "dcp" STATS command to get stats on its DCP connections. The problem is that this command returns stats on all dcp connection leaving replication vulnerable to an issue gathering stats by from any client. This has caused issues in the past where poorly behaved clients caused intra cluster data replication to drop.
It would be good to have a capability to retrieve stats for connections owned by the user running the stats command.