gaozhangmin opened a new pull request #12025:
URL: https://github.com/apache/pulsar/pull/12025
### Motivation
Suppose We have three bookies, `b1, b2, b3`,
b1 and b2 divided into region test, b3 not divided to any region.
Namespace public/test has set-affinity-group test.
Now, the traffic of namespace public/test would be sent to b3 also, this is
not behave as expected, which b3 should not be included.
### Modifications
ignore the bookies which have not been divided into any region, when using
`ZkIsolatedBookieEnsemblePlacementPolicy.java`
### Verifying this change
This change added tests and can be verified as follows:
testNonRegionBookie
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (yes / no) no
- The public API: (yes / no) no
- The schema: (yes / no / don't know) no
- The default values of configurations: (yes / no) no
- The wire protocol: (yes / no) no
- The rest endpoints: (yes / no) no
- The admin cli options: (yes / no) no
- Anything that affects deployment: (yes / no / don't know)no
### Documentation
no need docs
--
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]