This patch removes the duplication of the out of range handling between 
`ReplicaFetcherThread` and `ReplicaAlterLogDirsThread` and attempts to expose a 
cleaner API for extension. It also adds a mock implementation to facilitate 
testing and several new test cases.

### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation 
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)


[ Full content available at: https://github.com/apache/kafka/pull/5608 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to