hachikuji opened a new pull request #10107:
URL: https://github.com/apache/kafka/pull/10107


   If the admin client is shutdown with some unfinished calls, we see messages 
such as the following in the log:
   ```
   2021-02-09 11:08:05.964 DEBUG [AdminClient clientId=adminclient-1] 
Call(callName=fetchMetadata, deadlineMs=1612843805378) timed out at 
9223372036854775807 after 1 attempt(s)
   ```
   The problem is that we are using passing `Long.MaxValue` as the current time 
in `Call.fail` and we are discarding the original cause. The patch fixes the 
problem by setting `aborted=true` instead and preserving the original exception 
message.
   
   ### 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


Reply via email to