-
Notifications
You must be signed in to change notification settings - Fork 89
[ReplicatedLoglet] Remote append #2003
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
Conversation
1b1ab5a
to
cdf8c26
Compare
28f7212
to
edf697a
Compare
dbc714a
to
32c0d35
Compare
93db90e
to
279bed6
Compare
eb00dba
to
eac9368
Compare
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.
Thanks a lot for creating the RemoteSequencer @muhamadazmy. The changes look good to me. I had a few minor comments and one question about the handling of the inflight
request when a connection gets closed.
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
crates/bifrost/src/providers/replicated_loglet/remote_sequencer.rs
Outdated
Show resolved
Hide resolved
835ce9a
to
62db52f
Compare
ad804f3
to
845d464
Compare
Summary: Implements a remote loglet append calls to leader sequencer
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.
Thanks for addressing my comments @muhamadazmy. The changes look good to me :-)
// For now this should not be a problem since they can (possibly) retry | ||
// to do the write again 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.
Which means that we effectively produce in at least once manner to Bifrost, right?
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.
@tillrohrmann That is correct. Application layer is responsible for running deup. Bifrost guarantees that committed records have accomplished a write quorum. But failed writes can still show up in the logs. For example during seal. Hence application layer must take care of duplicates
[ReplicatedLoglet] Remote append
Summary:
Implements a remote loglet append calls to leader sequencer
Stack created with Sapling. Best reviewed with ReviewStack.