li4wang commented on code in PR #2261:
URL: https://github.com/apache/zookeeper/pull/2261#discussion_r2122257305
##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java:
##########
@@ -584,6 +584,7 @@ public void deleteNode(String path, long zxid) throws
NoNodeException {
containers.remove(path);
} else if (ephemeralType == EphemeralType.TTL) {
ttls.remove(path);
+ ServerMetrics.getMetrics().TTL_NODE_DELETED_COUNT.add(1);
Review Comment:
@zeekling Opened a JIRA for TTL creation metrics.
https://issues.apache.org/jira/browse/ZOOKEEPER-4934
I can submit a PR for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]