-
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]: decompress_chunk fails with "database system is in recovery mode" #6028
Comments
Hello @flexwende, Thank you bringing this issue to our attention! The error message you mentioned, However, the primary concern here is the unexpected termination of the server process during the execution of the query Regarding chunks created in version 2.5.0, they should not be a problem. In my internal tests, I was able to compress and decompress chunks that were created in 2.5.0 and upgraded to 2.11.2, without any issues. It is possible that the problem might be specific to a particular schema configuration. And for this purpose, it will be good to have more detailed information such as the table schema, tuple count, compression settings, and any relevant policies associated with the hypertable. Can you please provide us with these information? Considering that the database server successfully completed its recovery and is operational again, could you please attempt to run Thank you! |
I solved the problem at the exact time of your answer :D The table has an unique index. After droping the unique index Thank you for the quick response! |
Glad you were able to solve the issue! I'll mark this is as closed for now. Please do reopen if you face any further issues with this. Thank you! |
What type of bug is this?
Unexpected error
What subsystems and features are affected?
Compression
What happened?
I tried compression to reduce storage.
compress_chunk works fine, but when I used decompress_chunk to revert the compression it fails with the error:
FATAL: the database system is in recovery mode
I tried the same with a minimal example and it worked. The hypertable chunks where the error occures were created with timescale 2.5.0. Could this be the problem?
TimescaleDB version affected
2.11.2
PostgreSQL version used
14.1
What operating system did you use?
Windows 10 x64
What installation method did you use?
Not applicable
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: