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

Fix _timescaledb_functions.remove_dropped_chunk_metadata #6911

Merged
merged 1 commit into from May 21, 2024

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented May 11, 2024

The removal function would only remove chunk_constraints that are part of dimension constraints. This patch changes it to remove all constraints of a chunk.

Fixes #6905

Copy link

codecov bot commented May 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.68%. Comparing base (59f50f2) to head (bcc35b7).
Report is 167 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6911      +/-   ##
==========================================
+ Coverage   80.06%   81.68%   +1.61%     
==========================================
  Files         190      198       +8     
  Lines       37181    36836     -345     
  Branches     9450     9634     +184     
==========================================
+ Hits        29770    30088     +318     
+ Misses       2997     2876     -121     
+ Partials     4414     3872     -542     

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

@svenklemm svenklemm force-pushed the remove_dropped_chunk branch 3 times, most recently from 622e849 to 178e7c8 Compare May 11, 2024 17:47
@svenklemm svenklemm added this to the TimescaleDB 2.15.1 milestone May 20, 2024
@svenklemm svenklemm enabled auto-merge (rebase) May 21, 2024 13:13
The removal function would only remove chunk_constraints that are
part of dimension constraints. This patch changes it to remove all
constraints of a chunk.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: "chunk_constraint" table constraint error when updating Timescale extension
4 participants