Repository navigation
Add buffered rounds - #54
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Messages received in those rounds are buffered. Protocol implementation then processes them one-by-one through `rounds.next_msg_in(buffered_round)`. Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
survived
force-pushed
the
feat/msg-one-by-one
branch
from
November 20, 2026 08:25
d907733 to
0550c3f
Compare
Providing `parent: &span` is actually wrong way of instrumenting logs. Span has to be entered to be handled correctly by most integrations (such as Datadog). Commit instruments async functions via `#[tracing::instrument]` which solves all the issues, and provides nicer developer experience. Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
survived
marked this pull request as ready for review
November 27, 2026 09:43
maurges
reviewed
Nov 30, 2026
maurges
reviewed
Nov 30, 2026
Contributor
|
Reviewed the implementation. Can't comment on the applicability of the api |
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
maurges
previously approved these changes
Nov 30, 2026
maurges
left a comment
Contributor
There was a problem hiding this comment.
I'm not sure I fully grasp the logic of the latest change, but low-level it seems sane
Version that we used to use doesn't work with latest Rust version for some reason. Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Signed-off-by: Denis Varlakov <cordial.egg6523@fastmail.com>
Contributor
Author
|
@maurges updated the PR so the CI passes |
maurges
approved these changes
Dec 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Messages received in those rounds are buffered. Protocol implementation then processes them one-by-one through
rounds.next_msg_in(buffered_round).See example: https://github.com/LFDT-Lockness/round-based/blob/dd5657ed8a3adde352437ecf461340c178ae6b10/examples/consensus-on-termination/src/lib.rs.