[ReplicatedLoglet] Remote append#2003
Conversation
1b1ab5a to
cdf8c26
Compare
28f7212 to
edf697a
Compare
dbc714a to
32c0d35
Compare
93db90e to
279bed6
Compare
eb00dba to
eac9368
Compare
tillrohrmann
left a comment
There was a problem hiding this comment.
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
835ce9a to
62db52f
Compare
ad804f3 to
845d464
Compare
Summary: Implements a remote loglet append calls to leader sequencer
tillrohrmann
left a comment
There was a problem hiding this comment.
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.
Which means that we effectively produce in at least once manner to Bifrost, right?
There was a problem hiding this comment.
@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.