-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'NET-1709-add-unbounded-sender-to-ingress-history-writer…
…-to-transmit-state-height-for-each-completed-update-call' into 'master' feat(execution): [NET-1709] Transmit message ID and height for finalised ingress messages. This MR adds a [`tokio::sync::mpsc::Sender`](https://docs.rs/tokio/latest/tokio/sync/mpsc/struct.Sender.html) and an `Arc<dyn StateReader<State = ReplicatedState>>` to the `IngressHistoryWriterImpl` in `history.rs`. Each time `IngressHistoryWriterImpl::set_status()` is called for a message transitioning to a terminal state, it will send the message-id of the message and the height of the replicated state where the message has transitioned to a terminal state. The receiver will be used in a `IngressWatcher` event loop [here](https://sourcegraph.com/github.com/dfinity/ic@c792b285485d8428437d9745558556e0775f1d5b/-/blob/rs/http_endpoints/public/src/call/ingress_watcher.rs?L232-235) to track at what height a message completes execution. This change also enables the new `/v3/.../call` HTTPS endpoint for synchronous ingress messages. Closes NET-1709 Closes NET-1709 See merge request dfinity-lab/public/ic!19797
- Loading branch information
Showing
21 changed files
with
252 additions
and
95 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.