krishvishal commented on code in PR #2546:
URL: https://github.com/apache/iggy/pull/2546#discussion_r2678873520


##########
core/common/src/types/consensus/header.rs:
##########
@@ -389,3 +397,200 @@ impl ConsensusHeader for ReplyHeader {
         self.size
     }
 }
+
+/// StartViewChange message header.
+///
+/// Sent by a replica when it suspects the primary has failed.
+/// This is a header-only message with no body.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+#[repr(C)]
+pub struct StartViewChangeHeader {
+    pub checksum: u128,
+    pub checksum_padding: u128,
+    pub checksum_body: u128,
+    pub checksum_body_padding: u128,
+    pub nonce_reserved: u128,

Review Comment:
   Done



-- 
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]

Reply via email to