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

Don't try to compress osm chunks #6670

Merged
merged 1 commit into from Feb 18, 2024
Merged

Conversation

svenklemm
Copy link
Member

This patch filters out the osm chunk in the compression policy and adds some additional checks so we dont run compress_chunk on osm chunks.

@svenklemm svenklemm added this to the TimescaleDB 2.14.2 milestone Feb 17, 2024
@svenklemm svenklemm added segfault Segmentation fault bug labels Feb 17, 2024
@svenklemm svenklemm self-assigned this Feb 17, 2024
src/chunk.c Outdated
{
if (throw_error)
elog(ERROR,
"%s not permitted on osm chunk \"%s\" ",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OSM chunk can sound confusing to end users, should the error say tiered chunk?

@svenklemm svenklemm force-pushed the osm_chunk branch 3 times, most recently from 865c844 to 63afbf2 Compare February 18, 2024 13:30
Copy link

codecov bot commented Feb 18, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (59f50f2) 80.06% compared to head (d17548e) 81.46%.
Report is 12 commits behind head on main.

Files Patch % Lines
src/chunk.c 62.50% 1 Missing and 2 partials ⚠️
tsl/src/compression/compression.c 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6670      +/-   ##
==========================================
+ Coverage   80.06%   81.46%   +1.39%     
==========================================
  Files         190      190              
  Lines       37181    36392     -789     
  Branches     9450     9459       +9     
==========================================
- Hits        29770    29647     -123     
+ Misses       2997     2983      -14     
+ Partials     4414     3762     -652     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This patch filters out the osm chunk in the compression policy and
adds some additional checks so we dont run compress_chunk on osm
chunks.
@svenklemm svenklemm merged commit 23b2665 into timescale:main Feb 18, 2024
42 of 44 checks passed
svenklemm added a commit to svenklemm/timescaledb that referenced this pull request Feb 19, 2024
This release contains bug fixes since the 2.14.1 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
* timescale#6655 Fix segfault in cagg_validate_query
* timescale#6660 Fix refresh on empty CAgg with variable bucket
* timescale#6670 Don't try to compress osm chunks

**Thanks**
* @kav23alex for reporting a segfault in cagg_validate_query
svenklemm added a commit that referenced this pull request Feb 20, 2024
This release contains bug fixes since the 2.14.1 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
* #6655 Fix segfault in cagg_validate_query
* #6660 Fix refresh on empty CAgg with variable bucket
* #6670 Don't try to compress osm chunks

**Thanks**
* @kav23alex for reporting a segfault in cagg_validate_query
svenklemm added a commit that referenced this pull request Feb 20, 2024
This release contains bug fixes since the 2.14.1 release.
We recommend that you upgrade at the next available opportunity.

**Bugfixes**
* #6655 Fix segfault in cagg_validate_query
* #6660 Fix refresh on empty CAgg with variable bucket
* #6670 Don't try to compress osm chunks

**Thanks**
* @kav23alex for reporting a segfault in cagg_validate_query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants