zbentley commented on issue #19210:
URL: https://github.com/apache/pulsar/issues/19210#issuecomment-1380739363
I work with @awitghirmai; we were investigating this together. This part of
the stats output seems impossible/like an invariant violation inside the broker:
```
"msgBacklog": 9,
"backlogSize": 0,
"earliestMsgPublishTimeInBacklog": 0,
```
If a subscription has a backlog that backlog must have a size and
oldest-message timestamp. If pulsar's internal state is updating those things
non-atomically that is a significant defect. That is, the act of adding a
message to the backlog must transactionally also update the backlog size and
earliest-timestamp if applicable: either all three of those things must succeed
and be observable globally at the same instant, or none of them must succeed.
--
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]