diegosalvi commented on issue #7623: URL: https://github.com/apache/pulsar/issues/7623#issuecomment-1140817474
@eolivelli I've looked into getPreciseBacklog code (Topic.getStats -> PersistentSubscription.getStats -> MangedCursor.getNumberOfEntriesInBacklog -> ManagedCursorImpl.getNumberOfEntries). Probably I'm missing something but from what i saw it "count" entry ranges without looking int any entry at all. From my undersanding I should read every entry from subscription position up to lac, build theirs metadata and then sum them. It seems very inefficient to me -- 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]
