aloyszhang opened a new issue #14247:
URL: https://github.com/apache/pulsar/issues/14247


   **Describe the bug**
   For  RackAware Placement Policy configured with different racks, deleting 
the rack configuration of bookies will not take effect when creating a new 
ledger.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Start some bookies and set to different bookies, like rack-1 contains 
bookie-1 and bookie-2, rack-2 contains bookie-3 and bookie4
   2. set `bookkeeperClientMinNumRacksPerWriteQuorum=2` and set 
`bookkeeperClientEnforceMinNumRacksPerWriteQuorum`=true, and now create new 
ledger(222) will success
   3. delete the rack configuration for bookie-3 and bookie-4, now, the bookie 
cluster has only one rack: rack-1
   4. creating a new ledger(222) can still success
   
   **Expected behavior**
   Deleting rack configurations should take effect immediately
   
   


-- 
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