-
-
Notifications
You must be signed in to change notification settings - Fork 11
Purging of excess diffs. #657
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
Merged
Merged
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
ee2a012
Move persistence related fields into the existing persistence struct.
ximon18 6e91977
Merge branch 'main' into prune-diffs-take-three
ximon18 ae8293c
Move IXFR in-memory diff management into new IxfrZoneDiffs.
ximon18 959639e
Update RustDoc comment to match recent code changes.
ximon18 0c92a60
Replace tuple with struct with named fields.
ximon18 5a678fd
Improve comments and check if fetched diff matches expectations.
ximon18 26909f6
Clippy.
ximon18 1725063
Merge branch 'main' into prune-diffs-take-three
ximon18 f757530
Remove commented out code.
ximon18 a2fbe68
More cleanup and consistency between loaded and signed restoration.
ximon18 a59d661
Clippy.
ximon18 a50a3c1
Cargo fmt.
ximon18 e8a67b7
Use dedicated types.
ximon18 1b1dc02
Add purging of diffs.
ximon18 3d6e187
FIX: Revert temporary local change that breaks the test.
ximon18 b830659
Consistency.
ximon18 4292fef
Removed unused field.
ximon18 cf59337
More remove unused field.
ximon18 d4bfab7
Ensure that compaction blocks changes elsewhere concurrently to the p…
ximon18 b719a04
Fix a comment.
ximon18 11181ca
FIX: Revert persistence of loaded zone when loaded zone is discarded …
ximon18 38d5848
Don't leave nulls in the state file.
ximon18 e95037d
Remove outdated comment.
ximon18 0b26f4c
cargo fmt.
ximon18 3afd8a0
Add missing state transition to zone storage diagram,
ximon18 2ae2010
Cargo fmt.
ximon18 aba4ab1
Oops, the loaded zone wasn't persisted yet.
ximon18 3235690
Add a test of restore following signed reject.
ximon18 70b714a
FIX: Set last published SOA fields in storage on restore.
ximon18 9363857
On signed rejection, discard the loaded in-memory diff that was added.
ximon18 69c0a2c
Clippy.
ximon18 8a770b8
Cargo fmt.
ximon18 80ee201
Add max-diffs-size policy setting.
ximon18 0ec472a
FIX: Set new policy in zone after reload.
ximon18 61c4074
Clippy.
ximon18 acc2102
Cargo fmt.
ximon18 bc2ebf8
Merge branch 'main' into persist-zone-fixes-and-improvements
ximon18 cd96247
Merge branch 'persist-zone-fixes-and-improvements' into prune-diffs-t…
ximon18 adcefbc
Consistency: refactor into `on_zone_policy_changed()` style.
ximon18 cb134f0
Update purging policy setting descriptions.
ximon18 00e293d
Update persistence developer notes to include purging.
ximon18 ee09f62
Tweaks to IxfrZoneDiffs RustDocs.
ximon18 a657b3b
Remove excessive trace logging.
ximon18 355ddab
Refactor free fn as associated fn.
ximon18 396ae49
FIX: Restore last published SOAs from existing persisted state.
ximon18 730552b
Does this change make subcmd mentions into links?
ximon18 28dc62a
Revert "Does this change make subcmd mentions into links?"
ximon18 3e2f98d
RST syntax fix.
ximon18 bfbe480
Mention provide-xfr-to policy setting in zone transfer core topic.
ximon18 c8a5bc4
Say something in the docs about removal of excess diffs.
ximon18 1281755
Say something about special statuses that zone status can report.
ximon18 e5e56ec
Remove errant text.
ximon18 a55ba83
More zone transfer page updates.
ximon18 0f43c94
Consistency.
ximon18 28bc2f4
Shorter better heading.
ximon18 95c6fc7
Unit test a tiny piece of logic.
ximon18 2735dbe
Better log message.
ximon18 c0112e5
Better log message.
ximon18 a3918a1
Manual application of changes made in the base branch persist-zone-fi…
ximon18 a6863d4
Merge branch 'main' into prune-diffs-take-two
ximon18 7c2fa16
Make cargo doc happy.
ximon18 24f0e56
Review feedback: Remove accidentally committed file.
ximon18 0b81ed9
Review feedback: Typo correction.
ximon18 30e3b70
Be more specific about diff size.
ximon18 83c93ee
Clarify how diff limits are combined.
ximon18 d1db390
Review feedback: Use correct config file setting name syntax.
ximon18 e931338
Review feedback: Typo correction.
ximon18 ec73680
Review feedback: No need for abs_diff(), and return early.
ximon18 d9e27b4
Review feedback: Use let else style.
ximon18 e345918
Rewrap comments after use of early return caused changes to indenting.
ximon18 1822cf0
Review feedback: use checked_add().
ximon18 b6e834e
Review feedback: Remove into_iter().
ximon18 ce5cf14
Review feedback: Less cryptic `cascade policy show` output.
ximon18 02c1078
Review feedback: Hopefully improved description of max-diffs vs max-d…
ximon18 33b9e49
cargo fmt.
ximon18 893ce51
Review feedback: include policy TOML example, and reword max-diffs de…
ximon18 7827aa3
Merge branch 'main' into prune-diffs-take-two
ximon18 b9fc37f
Review feedback: Move code used by both persist and restore to the mo…
ximon18 b2e723d
FIX: Actually update next_idx.
ximon18 f23a31c
FIX: Ensure after storing diffs that we are not exceeding limits.
ximon18 7c6c823
Additional trace logging.
ximon18 1ed1077
Added some TODOs.
ximon18 bb6b7fa
Review feedback: Clearer separation of next_idx and restore_base_idx.
ximon18 d1bc2ad
Note some of the known limitations of the current implementation to b…
ximon18 e30a010
More TODO notes.
ximon18 552f698
Review feedback: Rename from_parts() to for_existing_diffs().
ximon18 b56510f
Review feedback: Clarify that not all diffs are applied if compaction…
ximon18 f9005f6
Review feedback: Complete the renaming of restore_base_idx and add mo…
ximon18 521a7e6
Make cargo doc happy.
ximon18 c401f24
Review feedback: Typo correction.
ximon18 148d1f2
Typo fix: exisitng -> existing.
ximon18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.