You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/06 08:27:28 UTC

[GitHub] [pulsar] lujiwen opened a new issue, #15948: msgbacklog is not accurate between shutdowns

lujiwen opened a new issue, #15948:
URL: https://github.com/apache/pulsar/issues/15948

   **Describe the bug**
   the msgBacklog is not accurate after restarts and ask for msgBacklog for subscription even specify --get-precise-backlog
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. get msgBacklog by 'pulsar-admin topics partitioned-stats --get-precise-backlog --get-subscription-backlog-size "
   alias ts="pulsar-admin topics stats --get-precise-backlog --get-subscription-backlog-size'
   2. restart broker 
   3. request for backlog again, or consume msg in a particular subscirption
   4. we can consume more message than the 'msgBacklog'
   
   **Expected behavior**
   the msgBacklog can indicates the precise backlog in a subscription in any case.
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] yapxue commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
yapxue commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1163165258

   @lujiwen pulsar count number of entries. Did you enabled batching in producer side?


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1214268388

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lujiwen commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
lujiwen commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1184452263

   @Radiancebobo @yapxue I see, do you mean the msgBacklog is the number of batches of messages in backlog if I enable batch and send messages in batch from producer to broker?  so the actual number of individual messages is batchsize * msgBacklog, right?  and the same story for the "msgRateOut".


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Radiancebobo commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
Radiancebobo commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1148546954

   What is your Pulsar version? I didn't reproduce the behavior in v2.9.2


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lujiwen commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
lujiwen commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1165408932

   @yapxue yes I did


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] lujiwen commented on issue #15948: msgbacklog is not accurate between shutdowns

Posted by GitBox <gi...@apache.org>.
lujiwen commented on issue #15948:
URL: https://github.com/apache/pulsar/issues/15948#issuecomment-1157454282

   @Radiancebobo I am using 2.10.0 


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org