-
Notifications
You must be signed in to change notification settings - Fork 882
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
Deadlock when attempting to materialize multiple continuous aggregates #2308
Comments
Does the 2.0.0 milestone mean it won't be fixed in a next 1.7.x release? Seems like a pretty serious bug. |
@RedShift1 no it doesn't mean we won't fix it for the 1.7.x branch. |
@nrlulz is this issue happening continuously, i.e., does one of the background jobs always fail or does it eventually resolve itself? |
It is no single job that fails. It eventually resolves itself, I just can only run one at a time. |
We have yet to encounter this issue on 2.0 RC, so retargeting this for next 1.7.x release. |
We're trying to verify whether this is still a problem in 2.0. If so, we'll try to target a fix for that branch instead. |
@nrlulz can you please try against our latest TimescaleDB version (2.4.2) and get back to us? |
@NunoFilipeSantos I have not seen this happen in any of our databases since upgrading to 2.0. They are all running 2.4.2 now. |
That is wonderful news! 🥇 |
Relevant system information:
postgres --version
): 12.4\dx
inpsql
): 1.7.3Describe the bug
I am unable to materialize more than one continuous aggregate view at a time due to deadlock
To Reproduce
Expected behavior
The two continuous aggregates would materialize concurrently. I feel like this used to be possible, but I am not sure if this is supposed to be a supported thing or if it's a bug.
Actual behavior
One begins materializing, the other fails with a deadlock detected error.
Additional context
Output of
SELECT * FROM timescaledb_information.continuous_aggregate_stats;
Relevant slice of postgresql log
The text was updated successfully, but these errors were encountered: