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 removal of metadata function and update script #6996

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

antekresic
Copy link
Contributor

@antekresic antekresic commented Jun 4, 2024

Changing the code to remove the assumption of 1:1
mapping between chunks and chunk constraints. Including
a check if a chunk constraint is shared with another chunk.
In that case, skip deleting the dimension slice.

Fixes #6976

Disable-check: force-changelog-file

@antekresic antekresic self-assigned this Jun 4, 2024
@antekresic antekresic marked this pull request as ready for review June 4, 2024 11:30
Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.75%. Comparing base (59f50f2) to head (5a3eb80).
Report is 198 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6996      +/-   ##
==========================================
+ Coverage   80.06%   81.75%   +1.68%     
==========================================
  Files         190      199       +9     
  Lines       37181    37015     -166     
  Branches     9450     9673     +223     
==========================================
+ Hits        29770    30261     +491     
+ Misses       2997     2863     -134     
+ Partials     4414     3891     -523     

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

@svenklemm svenklemm added this to the TimescaleDB 2.15.2 milestone Jun 4, 2024
@antekresic antekresic force-pushed the fix-remove-metadata branch 2 times, most recently from 1a482a9 to 7a24acc Compare June 5, 2024 11:13
@antekresic antekresic requested a review from svenklemm June 5, 2024 11:14
Changing the code to remove the assumption of 1:1
mapping between chunks and chunk constraints. Including
a check if a chunk constraint is shared with another chunk.
In that case, skip deleting the dimension slice.
@antekresic antekresic enabled auto-merge (rebase) June 5, 2024 11:40
@antekresic antekresic merged commit 5c2c80f into timescale:main Jun 5, 2024
43 checks passed
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]: Upgrade to tsdb 2.15.1 caused selects by partitioned column to return only data after upgrade
5 participants