krishvishal commented on code in PR #2426:
URL: https://github.com/apache/iggy/pull/2426#discussion_r2580985052
##########
core/consensus/src/impls.rs:
##########
@@ -16,44 +16,378 @@
// under the License.
use crate::{Consensus, Project};
+use bit_set::BitSet;
use iggy_common::header::{Command2, PrepareHeader, PrepareOkHeader,
RequestHeader};
use iggy_common::message::Message;
use message_bus::IggyMessageBus;
-use std::cell::Cell;
+use std::cell::{Cell, RefCell};
+use std::collections::VecDeque;
+pub trait Sequencer {
+ type Sequence: Copy + Default + PartialOrd + std::ops::Add<Output =
Self::Sequence>;
Review Comment:
Yeah, I don't think they are necessary here. We can add similar bounds to
the functions implementing this trait. Removing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]