Skip to content

[dbsp] Eliminate duplicate code in Consensus implementation.#5943

Open
blp wants to merge 1 commit intomainfrom
simplify-consensus
Open

[dbsp] Eliminate duplicate code in Consensus implementation.#5943
blp wants to merge 1 commit intomainfrom
simplify-consensus

Conversation

@blp
Copy link
Copy Markdown
Member

@blp blp commented Mar 27, 2026

Consensus is just Broadcast<bool> with a logical-and built in.

Describe Manual Test Plan

I'm running the unit tests.

`Consensus` is just `Broadcast<bool>` with a logical-and built in.

Signed-off-by: Ben Pfaff <blp@feldera.com>
@blp blp requested a review from ryzhyk March 27, 2026 23:43
@blp blp self-assigned this Mar 27, 2026
@blp blp added DBSP core Related to the core DBSP library rust Pull requests that update Rust code labels Mar 27, 2026
@blp
Copy link
Copy Markdown
Member Author

blp commented Mar 27, 2026

@ryzhyk I compared the code in these pretty well but maybe there's some important difference I'm missing?

Copy link
Copy Markdown
Contributor

@ryzhyk ryzhyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you're missing anything. This is a nice simplification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DBSP core Related to the core DBSP library rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants