Skip to content

Revert discarded database pool check in load balancer

What does this MR do and why?

Some users have reported intermittent No connection pool for 'ActiveRecord::Base' found errors after updating to GitLab 18.4. This is likely due to !203779 (merged) because the QueryAnalyzer is likely accessing the database before the database load balancer has properly initialized everything.

Since the related issue was solved with !203888 (merged), let's revert the discarded? check for now.

References

Relates to #573581 (closed)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports

Loading