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
When decompressing a chunk, the chunk will appear empty to ongoing transactions that are using isolation level REPEATABLE READ.
When compressing a chunk, the data is frozen and visible to all transactions/snapshots, but when the chunk is decompressed, the data is written to the non-compressed relation as new data without transferring visibility information. At the same time, the compressed relation is removed in a non-MVCC safe way.
1. Start a transaction in repeatable read
2. Make sure to query at least one "other" table that won't be decompressed in order to initialize a snapshot3. In another session/backend decompress a chunk4. Query the chunk in the session running repeatable read
The text was updated successfully, but these errors were encountered:
What type of bug is this?
Incorrect result
What subsystems and features are affected?
Compression
What happened?
When decompressing a chunk, the chunk will appear empty to ongoing transactions that are using isolation level REPEATABLE READ.
When compressing a chunk, the data is frozen and visible to all transactions/snapshots, but when the chunk is decompressed, the data is written to the non-compressed relation as new data without transferring visibility information. At the same time, the compressed relation is removed in a non-MVCC safe way.
TimescaleDB version affected
2.14.2
PostgreSQL version used
16
What operating system did you use?
Ubuntu 23.10
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: