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

instance: add migration System #1312

Merged
merged 15 commits into from
Nov 24, 2024
Merged

instance: add migration System #1312

merged 15 commits into from
Nov 24, 2024

Conversation

BeryJu
Copy link
Owner

@BeryJu BeryJu commented Nov 24, 2024

For some upcoming changes like #1304 and #1249 we need the ability to migrate etcd data transparently and in a way that is compatible with other nodes in the cluster that might not be updated yet

Copy link

netlify bot commented Nov 24, 2024

Deploy Preview for beryju-gravity canceled.

Name Link
🔨 Latest commit 989e81c
🔍 Latest deploy log https://app.netlify.com/sites/beryju-gravity/deploys/674392d539e4d8000815d751

Copy link

codecov bot commented Nov 24, 2024

Codecov Report

Attention: Patch coverage is 65.02732% with 64 lines in your changes missing coverage. Please review.

Project coverage is 60.83%. Comparing base (78ad85f) to head (989e81c).
Report is 2 commits behind head on main.

❌ We are unable to process any of the uploaded JUnit XML files. Please ensure your files are in the right format.

Files with missing lines Patch % Lines
pkg/storage/client.go 2.85% 33 Missing and 1 partial ⚠️
pkg/instance/migrate/migrate.go 70.58% 14 Missing and 6 partials ⚠️
pkg/instance/instance.go 55.55% 3 Missing and 1 partial ⚠️
pkg/instance/migrate/inline_migration.go 82.35% 2 Missing and 1 partial ⚠️
pkg/storage/trace/kv.go 90.62% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1312       +/-   ##
===========================================
+ Coverage   21.90%   60.83%   +38.93%     
===========================================
  Files         233      107      -126     
  Lines       19910     6034    -13876     
===========================================
- Hits         4361     3671      -690     
+ Misses      15099     2019    -13080     
+ Partials      450      344      -106     

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

Copy link

codecov bot commented Nov 24, 2024

Bundle Report

Changes will increase total bundle size by 3.53MB (100.0%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
gravity-ui-esm 3.53MB 3.53MB (100%) ⬆️⚠️

@BeryJu BeryJu merged commit 940d06e into main Nov 24, 2024
18 checks passed
@BeryJu BeryJu deleted the migrate branch November 24, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant