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

feat(cli): BREAKING CHANGE ensure --checkpoint-interval is <=45min #2196

Merged
merged 1 commit into from Jul 16, 2022

Conversation

jkowalski
Copy link
Contributor

@jkowalski jkowalski commented Jul 16, 2022

Also hide the flag, since it's not recommended to be tweaked anyway.

The value of <=45m is very important for safety of the garbage collection algorithms - too long an interval between checkpoints could mean that GC treats contents in the middle of being uploaded as unused, because they are not reachable from any snapshots or checkpoints.

Fixes #2193

Also hide the flag, since it's not recommended to be tweaked
anyway.

The value of <=45m is very important for safety of the garbage
collection algorithms - too long an interval between checkpoints could
mean that GC treats contents in the middle of being uploaded
as unused, because they are not reachable from any snapshots or
checkpoints.

Fixes kopia#2193
@jkowalski jkowalski enabled auto-merge (squash) July 16, 2022 03:59
@jkowalski jkowalski changed the title feat(cli): ensure --checkpoint-interval is <=45min feat(cli): BREAKING CHANGE ensure --checkpoint-interval is <=45min Jul 16, 2022
@codecov
Copy link

codecov bot commented Jul 16, 2022

Codecov Report

Merging #2196 (5f31923) into master (327f526) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2196      +/-   ##
==========================================
+ Coverage   74.55%   74.58%   +0.02%     
==========================================
  Files         423      423              
  Lines       32930    32933       +3     
==========================================
+ Hits        24551    24563      +12     
+ Misses       6597     6590       -7     
+ Partials     1782     1780       -2     
Impacted Files Coverage Δ
cli/command_snapshot_create.go 80.12% <100.00%> (+0.94%) ⬆️
snapshot/snapshotfs/upload.go 83.01% <100.00%> (+0.40%) ⬆️
snapshot/snapshotfs/repofs.go 79.29% <0.00%> (-1.52%) ⬇️
internal/epoch/epoch_manager.go 90.12% <0.00%> (+0.51%) ⬆️
internal/server/source_manager.go 81.13% <0.00%> (+0.77%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 327f526...5f31923. Read the comment docs.

@jkowalski jkowalski merged commit 191b3e5 into kopia:master Jul 16, 2022
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.

kopia v0.11.3: invalid input duration string when specifying checkpoint-interval
1 participant