Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth: don't use infinite timeout in
default_role_row_satisfies
query
A long long time ago there was an issue about removing infinite timeouts from distributed queries: #3603. There was also a fix: 620e950. But apparently some queries escaped the fix, like the one in `default_role_row_satisfies`. With the right conditions and timing this query may cause a node to hang indefinitely on shutdown. A node tries to perform this query after it starts. If we kill another node which is required to serve this query right before that moment, the query will hang; when we try to shutdown the querying node, it will wait for the query to finish (it's a background task in auth service), which it never does due to infinite timeout. Use the same timeout configuration as other queries in this module do. Fixes #13545. Closes #14134
- Loading branch information