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/10/28 15:19:35 UTC

[GitHub] [pulsar] michaeljmarshall opened a new issue, #18249: Add way to view a cursor's persisted PositionInfo in bookkeeper

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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Motivation
   
   While researching the solution for #18236, it would have been very helpful to have access to a cursor's persisted `PositionInfo` in Bookkeeper. In that bug's case, the persisted data in bookkeeper didn't align with the `PositionInfo` persisted in zookeeper, and verifying that was essential to finding the bug.
   
   ### Solution
   
   I see two options:
   
   1. Create a new admin http endpoint that allows a user with super user privileges permission to get a range of persisted entries from a cursor's ledger. The primary benefit of this solution is that it gives us the ability to investigate historical `PositionInfo`, which could be very helpful.
   2. Update the `stats-internal` admin http result to also include the most recently persisted `PositionInfo`. One risk for this solution is that it increases the cost of `stats-internal`. However, that command is already a troubleshooting command, so that should be fine.
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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] github-actions[bot] commented on issue #18249: Add way to get a cursor's persisted PositionInfo from bookkeeper

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

   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