Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store: Treat 'no connection to the server' as db not available #4435

Merged
merged 1 commit into from
Mar 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion store/postgres/src/connection_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ impl r2d2::HandleError<r2d2::Error> for ErrorHandler {
// in a locale other than English. In that case, their database will
// be marked as unavailable even though it is perfectly fine.
if msg.contains("canceling statement")
|| msg.contains("no connection to the server")
|| msg.contains("terminating connection due to conflict with recovery")
{
return;
Expand Down