wenbingshen opened a new pull request, #3561:
URL: https://github.com/apache/bookkeeper/pull/3561
### Motivation
When `placementPolicyCheck` is enabled and then `bookkeeper shell
autorecovery -disable` is executed, `placementPolicyCheck` will detect ledgers
that do not satisfy `placementPolicy` and write to zookeeper, but
`ReplicationWorker` no longer obtains ledgers from zookeeper for replication
work because autorecovery is disabled, which results in a large number of
temporary nodes on zookeeper , when there are more ledgers that do not satisfy
placementPolicy, the problem will get worse.
The method of `ReplicationWorker` to get ledger:
```java
private boolean rereplicate() throws InterruptedException, BKException,
UnavailableException {
long ledgerIdToReplicate = underreplicationManager
.getLedgerToRereplicate();
...
```
--
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]