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


##########
core/common/src/types/consensus/header.rs:
##########
@@ -124,6 +124,46 @@ pub enum Operation {
     Reserved = 200,
 }
 
+impl Operation {
+    /// Returns `true` for metadata / control-plane operations (streams, 
topics,
+    /// users, consumer groups, etc.) that are always handled by shard 0.
+    #[inline]
+    pub fn is_metadata(&self) -> bool {

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