You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the swap, we will need to be knowledgeable of any other long queries happening against the primary table. In which case, should we set a lock_timeout and cancel other queries?
Is there a better experience? -
maybe wait for 5 mins and retry upto 3 times before cancelling other queries? (--wait-timeout)
or fail hard if pgosc couldn't acquire a lock for the swap perhaps? (continue replaying during this time).
If failing hard, then pgosc should do the cleanup.
Introducing a flag to convey user preference is also possible
Similar to pg_repack? (re-purposing the lessons?) (combination of --no-kill-backend and --wait-timeout)
The text was updated successfully, but these errors were encountered:
During the swap, we will need to be knowledgeable of any other long queries happening against the primary table. In which case, should we set a
lock_timeout
and cancel other queries?Is there a better experience? -
--wait-timeout
)pgosc
couldn't acquire a lock for the swap perhaps? (continue replaying during this time).pgosc
should do the cleanup.--no-kill-backend
and--wait-timeout
)The text was updated successfully, but these errors were encountered: