-
Notifications
You must be signed in to change notification settings - Fork 2
add state snapshot uploads alongside log uploads #403
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
33 commits
Select commit
Hold shift + click to select a range
05ca00a
Add state upload: StateLogCorrelator, state snapshot uploads alongsid…
snowp fe31d0d
cleanup
snowp 00d667e
remove fallback reporting
snowp 32fbcbb
remove agents
snowp daa9a71
remove refernces to correlator, better range computation
snowp a7ad81b
use helper
snowp 11e2113
use time helper in more places
snowp 6457e37
document in agents
snowp be80130
fix oneshot consideration
snowp 9e1e3c3
improve durability
snowp 0ee2d8e
better durability guarantees
snowp 38340f3
improve test coverage
snowp 7e4606f
use enum for error propagation
snowp 66b7107
avoid losing ranges if handle ch is full
snowp f3df1da
update agents
snowp bcbaa44
fix tests
snowp 46c7a1d
todo
snowp 0ee1ba4
persistence etc
snowp 59e7346
update continuous buffer snapshot retentin
snowp 298b4ac
Merge origin/main
snowp 0182771
dedupe enqueue interface
snowp ead0152
cleanup
snowp 1a92229
cleanup
snowp fb979b0
comments
snowp f7aa7da
clean up tests some more
snowp aafc827
increase default snapshot delay
snowp c54e0c2
cleanup
snowp 7f7ab16
fix agents
snowp b43d7a5
handle raw vs checksummed artifact files
snowp 6d6b7b9
avoid zlib parsing, add more docs
snowp 34462fe
clarify more
snowp 83b30ab
fmt nightly
snowp 8ee0aae
fix rotation return bug, rework deduping repeat rotations and clarify…
snowp 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
Submodule api
updated
2 files
| +11 −0 | src/bitdrift_public/protobuf/client/v1/artifact.proto | |
| +5 −0 | src/bitdrift_public/protobuf/client/v1/key_value.proto |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But what happens if there is no network? Don't we have to drop eventually? How does this work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way this ends up working with this PR is that the list of pending artifacts will grow and focus on keeping the state snapshots. Once this fills out we back pressure to the state upload and the uploader will stop sending snapshots into bd-artifact-upload. The limit that prevents unbounded growth then becomes the max snapshots that we retain on disk as enforced during the rotation process