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 2021/08/02 09:16:11 UTC

[GitHub] [pulsar] syk-coder opened a new issue #11531: Ledgers remaining underreplicated even when bookies come back from the dead

syk-coder opened a new issue #11531:
URL: https://github.com/apache/pulsar/issues/11531


   **Describe the bug**
   When 2 or more bookies in the cluster are down, the auto-recovery gets triggered, but as these come back online, the rereplication worker should Ideally skip the rereplication of the ledgers that are marked as underreplicated. But the ledgers are rereplicated instead
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Create a cluster with enough bookies for this test (>5)
   2. Start publishing the messages to create a sizeable batch of ledgers
   3. Before killing the pods check the number of undereplicated ledges
   4. Kill 2 or more bookie pods to trigger auto-recovery process
   5. Check the list of underreplicated ledgers now
   6. Keep monitoring the undereplicated ledgers while the bookie come back online
   
   **Expected behavior**
   Ideally as and when the bookies come up the ledgers marked as underreplicated would be read by the rereplicaton worker and from the metadata the worked should skip these as the bookies are available. 
   
   
   **Additional context**
   Pulsar version used for testing : 2.7.2.8 
   


-- 
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] gaozhangmin commented on issue #11531: Ledgers remaining underreplicated even when bookies come back from the dead

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


   This is a bookkeeper related issue, this pr may fix this issue.
   https://github.com/apache/bookkeeper/pull/2767/files


-- 
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] codelipenghui commented on issue #11531: Ledgers remaining underreplicated even when bookies come back from the dead

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


   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