The call to collect this stat was dropped in
a recent merge commit. This commit adds it back.
Change-Id: I06d1d18cb4479edb2a74d899d4c3a8089a0c4656
Reviewed-on: http://review.couchbase.org/66284
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Will Gardner <will.gardner@couchbase.com>
Well-Formed: buildbot <build@couchbase.com>
LOG(EXTENSION_LOG_DEBUG, "Max active snoozing backfills set to %d",
maxActiveSnoozingBackfills);
}
+
+void DcpConnMap::addStats(ADD_STAT add_stat, const void *c) {
+ LockHolder lh(connsLock);
+ add_casted_stat("ep_dcp_dead_conn_count", deadConnections.size(),
+ add_stat, c);
+}
*/
void consumerBatchSizeConfigChanged(size_t newValue);
+ void addStats(ADD_STAT add_stat, const void *c);
+
protected:
bool isPassiveStreamConnected_UNLOCKED(uint16_t vbucket);
add_casted_stat("ep_dcp_max_running_backfills",
dcpConnMap_->getMaxActiveSnoozingBackfills(), add_stat, cookie);
+ dcpConnMap_->addStats(add_stat, cookie);
return ENGINE_SUCCESS;
}