HQebupt commented on PR #15062: URL: https://github.com/apache/pulsar/pull/15062#issuecomment-1098628944
@gaozhangmin @mattisonchao It will cause the `org.apache.pulsar.broker.service.persistent.PersistentTopic#getStats` algorithm to be inconsistent with this, if you delete one of them. So it is better to keep them same. `PersistentTopic#asyncGetStats` Position 1: https://github.com/apache/pulsar/blob/14e5a92be04de6e45cbabbfd977a07ef4159e5b8/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L1863-L1881 `PersistentTopic#asyncGetStats` Position 2: https://github.com/apache/pulsar/blob/14e5a92be04de6e45cbabbfd977a07ef4159e5b8/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L1906-L1922 -- 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]
