dajac opened a new pull request #8985: URL: https://github.com/apache/kafka/pull/8985
I have noticed that `alterReplicaLogDirs` fails all the unrealised futures when one of the call sent out fails (e.g. timeout). So if two calls A and B are sent out, if A fails before B comes back, all the futures are failed even if B is successful. I think that each call should realised their related futures only. This PR adds a unit test to reproduce the issue and fix it. It seems that other calls may suffer from the same issue. I will review them and open other PRs. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org