-
Notifications
You must be signed in to change notification settings - Fork 326
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
Fast start for chains configured with an allow list #1705
Merged
Merged
Changes from 17 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
883ee7d
Introduce a `ChainScanner` to scan the chains for clients, connection…
romac 70f5e1f
Use `ChainScanner` for spawning workers
romac 2a51530
Merge branch 'master' into romac/spawn-scanner
romac 4ffffb7
Formatting
romac 8f1a62c
Add `--full-scan` option to `start` command to force a full scan even…
romac 25e57de
Remove debug statements and print scanned chains on startup
romac 600a0c6
Changelog entry
romac 1151a2d
Merge branch 'master' into romac/spawn-scanner
romac 1986051
Merge branch 'master' into romac/spawn-scanner
romac 25d5119
Fix duplicate info message
romac 59d744f
Quote identifiers in log messages
romac 9404a81
Merge branch 'master' into romac/spawn-scanner
romac 23924e9
Better error when port/channel does not exists
romac 28866ad
Merge branch 'master' into romac/spawn-scanner
romac 56ff223
Add metrics for queries
romac 3d450d9
Small log improvements
romac 5ea4f27
Rename queries metric
romac a414523
Use `chain` key for recording chain identifier in tracing logs
romac 496d735
Use more structured logging in chain scanner
romac d763b4d
Fix changelog entry
romac d7f829e
Merge branch 'master' into romac/spawn-scanner
romac 8a36fff
Improve logs when no workers were spawned
romac 8f49559
Improve logs when spawning connection and channel workers
romac 763aaa0
Remove spaces in objects names
romac 111150c
Add changelog entry
romac 48616b8
Revert part of logs changes
romac 13160a7
Merge branch 'master' into romac/spawn-scanner
romac c43ce1a
Use INFO level for spawning logs
romac b0eafcf
Remove redundant changelog entry
romac 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
4 changes: 4 additions & 0 deletions
4
.changelog/v0.10.0/improvements/ibc-relayer/1536-fast-start.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Reduce the startup time of the relayer by querying the necessary | ||
information directly from the chain when one is configured with an | ||
allowlist, rather than scan for all clients, connections and channels | ||
([#1536](https://github.com/informalsystems/ibc-rs/issues/1536)) |
This file contains 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 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 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 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.
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.
Do we need this?