Commit 9c7021b7 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason

Fix undefined method performed_write? error in GDK

Fixes an autoloading issue similar to the one resolved in
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/72247
parent 2fac068e
......@@ -33,7 +33,7 @@ module Gitlab
# Sticks to the primary if a write was performed.
def stick_if_necessary(namespace, id)
stick(namespace, id) if Session.current.performed_write?
stick(namespace, id) if ::Gitlab::Database::LoadBalancing::Session.current.performed_write?
end
def all_caught_up?(namespace, id)
......
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