| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…pache#26673) (cherry picked from commit fe56cf3)
…pache#26673) (cherry picked from commit fe56cf3)
| Back | FazBrowse Home | New Git URL |
Fixes #26582
Motivation
When ZKMetadataStore construction fails while connecting to ZooKeeper, superclass executors have already been created. Since the constructor never returns, the caller cannot close the store. The remaining non-daemon threads can prevent initialize-transaction-coordinator-metadata from exiting.
Modifications
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
Failed ZKMetadataStore construction now shuts down the metadata-store executors that were created before the ZooKeeper connection attempt.