You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "horizonzy (via GitHub)" <gi...@apache.org> on 2023/10/09 05:22:20 UTC

[I] [Bug] Bk client MinNumRacksPerWriteQuorum and EnforceMinNumRacksPerWriteQuorum not work problem [pulsar]

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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   master
   
   ### Minimal reproduce step
   
   The broker.conf content.
   ```
   bookkeeperClientEnforceMinNumRacksPerWriteQuorum: "true"  
   bookkeeperClientRackawarePolicyEnabled: "true"  
   bookkeeperClientMinNumRacksPerWriteQuorum: "2"  
   managedLedgerDefaultEnsembleSize: "2"  
   managedLedgerDefaultWriteQuorum: "2"  
   managedLedgerDefaultAckQuorum: "2"
   ```
   
   
   1. using `bin/pulsar-admin bookies set-bookie-rack` to config bookie rack info.
   2. using `bin/pulsar-admin namespaces set-bookie-affinity-group` to configure the primary group.
   3. Start a producer
   4. Observe the property `ZkIsolatedBookieEnsemblePlacementPolicy#enforceMinNumRacksPerWriteQuorum`, the value is `false`, instead of `true`.
   
   
   ### What did you expect to see?
   
   The `enforceMinNumRacksPerWriteQuorum` should be passing into ZkIsolatedBookieEnsemblePlacementPolicy.
   
   ### What did you see instead?
   
   The `enforceMinNumRacksPerWriteQuorum` not be passing into ZkIsolatedBookieEnsemblePlacementPolicy.
   
   ### 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


Re: [I] [Bug] Bk client MinNumRacksPerWriteQuorum and EnforceMinNumRacksPerWriteQuorum not work problem [pulsar]

Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- closed issue #21326: [Bug] Bk client MinNumRacksPerWriteQuorum and EnforceMinNumRacksPerWriteQuorum not work problem
URL: https://github.com/apache/pulsar/issues/21326


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