Commit f84b2bef authored by Stan Hu's avatar Stan Hu Committed by Yorick Peterse

Fix load balancing configuration not working with Geo tracking database

parent 32a8aa93
...@@ -15,7 +15,8 @@ module Geo ...@@ -15,7 +15,8 @@ module Geo
raise SecondaryNotConfigured.new('Geo secondary database is not configured') raise SecondaryNotConfigured.new('Geo secondary database is not configured')
end end
super # Don't call super because LoadBalancing::ActiveRecordProxy will intercept it
retrieve_connection
end end
end end
end end
---
title: Geo: Fix load balancing configuration not working with Geo tracking database
merge_request: 6178
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment