-
Notifications
You must be signed in to change notification settings - Fork 691
feat: Router warm restarts via durable KV event consumers and radix snapshotting #2756
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
38 commits
Select commit
Hold shift + click to select a range
35a9c34
impl EventPublisher trait for NatsQueue
PeaBrane cfc1fb3
publish kv events over js
PeaBrane 67f2de8
clippy
PeaBrane 7ef9afd
in KvIndexer binding, subscribe to nats queue also (fixes kv bindings…
PeaBrane b7f5185
radix uploader
PeaBrane da355f6
refactor into background.rs
PeaBrane d6386f1
make kv_routers prefix a const
PeaBrane 0820747
make nats queue test persistence
PeaBrane efa98f4
e2e test passes, no radix snapshot yet
PeaBrane 87402cd
Merge remote-tracking branch 'origin/main' into rupei/router-warm-res…
PeaBrane bd4bf16
fmt
PeaBrane 9328f3c
purge + snapshot
PeaBrane 8c58452
default behavior reset event stream + reset radix state; make logging…
PeaBrane 5cd5c53
rm RadixUploader (not used)
PeaBrane 738788f
docs
PeaBrane 827ca4d
clippy
PeaBrane d29ba83
rename background.rs to subscriber.rs
PeaBrane 19f0e55
fix bindings
PeaBrane 6f701f4
extend todo (realized it's actually fine)
PeaBrane 2d8b184
snapshot before purge
PeaBrane 801959d
fix tight loop
PeaBrane 38e2dea
Merge branch 'main' into rupei/router-warm-restarts
PeaBrane a475988
update docs
PeaBrane 4a1f6ad
address minor comments
PeaBrane 1b7cf29
native etcd lock
PeaBrane 776f64c
reword deprecation of dynamo-run note
PeaBrane a752ed5
make SnapshotResources a struct
PeaBrane 56e8cbc
correctly shut down router binding
PeaBrane 903588d
make 'queue' a const str
PeaBrane 36ace6f
slug + router prefix
PeaBrane c1ab255
cli args update
PeaBrane 61f9840
make stream last an hour
PeaBrane f536e28
handle automatic durable consume cleanup
PeaBrane 8562035
use component.subject() instead
PeaBrane 0e496b8
register component path instead of model name for router replica key
PeaBrane f542d8c
use default snapshot_threshold of 10000
PeaBrane a5528f5
clean tests
PeaBrane 84e14b5
use exponential backoffs for kv bindings test
PeaBrane 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
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.