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

2024.4.0 LongRunningTransaction #9442

Closed
szinn opened this issue Apr 25, 2024 · 3 comments · Fixed by #9516
Closed

2024.4.0 LongRunningTransaction #9442

szinn opened this issue Apr 25, 2024 · 3 comments · Fixed by #9516
Labels
bug Something isn't working

Comments

@szinn
Copy link

szinn commented Apr 25, 2024

Describe the bug
Prometheus alert for a long running transaction.

I think the transaction is

SELECT pg_advisory_unlock($1)

To Reproduce
No activity, sitting idle

Expected behavior
Shouldn't have the alert

Screenshots

Logs

Version and Deployment (please complete the following information):
2024.4.0 kubernetes

Additional context
Add any other context about the problem here.

@szinn szinn added the bug Something isn't working label Apr 25, 2024
@MegaShinySnivy
Copy link

Can confirm, same thing happens on mine.

@szinn
Copy link
Author

szinn commented Apr 26, 2024

This appears to happen once a day - happened again, same query

@BeryJu
Copy link
Member

BeryJu commented Apr 29, 2024

So it seems that this is a side-effect of #9081 and part of the connection not being fully released, even though we only (currently) use advisory locks to prevent multiple servers/workers from migrating at the same time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants