-
Notifications
You must be signed in to change notification settings - Fork 848
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
[Bug]: Transaction aborted incorrectly if "out of memory" error occurs when inserting into hypertable #5917
Comments
Thank you for the bug report @alexanderlaw and for providing detailed steps to reproduce, I was able to reproduce it. |
@alexanderlaw does this happen only in |
@nikkhils , yes. I've tried to reproduce the issue with timescaledb built with:
And I see no assertion failure:
(Postgres was built with "./configure --enable-debug --enable-cassert"). |
thanks for the confirmation that it only happens with Debug builds. I am working on a fix for this 👍 Btw, the |
Need to ensure that we should try to take a lock only if a valid transaction is around. Otherwise assert is hit due to an error within an error. Fixes timescale#5917
Need to ensure that we should try to take a lock only if a valid transaction is around. Otherwise assert is hit due to an error within an error. Fixes #5917
What type of bug is this?
Crash
What subsystems and features are affected?
Query executor
What happened?
When INSERT INTO hypertable can not be executed due to the error "out of shared memory", it triggers an assertion failure.
TimescaleDB version affected
2.12.0-dev
PostgreSQL version used
15.3
What operating system did you use?
Ubuntu 22.04 x86_64
What installation method did you use?
Source
What platform did you run on?
On prem/Self-hosted
Relevant log output and stack trace
How can we reproduce the bug?
The text was updated successfully, but these errors were encountered: