Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes spurious race condition in client close (#5318)
When the close the accumulo client the following could happen. 1. THREAD1 sets closed atomic boolean to true in client as part of close() call 2. THREAD2 a background thread in transport pool tries to read property from client and gets exception 3. THREAD1 shuts down the transport pool object as part of closing client This change avoids throwing an exception in step 2 above. This bug was causing MetaFateOpsCommandsIT to sometimes fail because it would have a random excpetion in the json the command printing.
- Loading branch information