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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to