fmiguelez opened a new pull request #8209:
URL: https://github.com/apache/pulsar/pull/8209


   Fixes #8204
   
   ### Motivation
   
   Details are described in the issue and also on previous pull request #8205
   
   ### Modifications
   
   If we have no durable subscriptions yet (e.g. when using `Reader` instead of 
`Consumer`) use ledger total size instead of estimated backlog size that will 
always be equal to 0 in this case.
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (comments)
     - If a feature is not applicable for documentation, explain why? It is an 
internal change (no equivalent doc is available)
   


----------------------------------------------------------------
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]


Reply via email to