fxbing commented on issue #4895: PulsarBrokerStatsClientTest.testTopicInternalStats is flaky URL: https://github.com/apache/pulsar/issues/4895#issuecomment-524789900 Fixed in #5040 `individualDeletedMessages` is an instance of `ConcurrentOpenLongPairRangeSet` in `ManagedCursorImpl`. In `CursorStats`, the value of `totalNonContiguousDeletedMessagesRange` is `individualDeletedMessages.size()`, and the value of `individuallyDeletedMessages` is `individualDeletedMessages.toString()`. But in `ConcurrentOpenLongPairRangeSet`, `size()` and `toString()` use the same cache flag. After using one of `size()` and `toString()`, another can't get the correct result.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
