valepakh commented on code in PR #5685:
URL: https://github.com/apache/ignite-3/pull/5685#discussion_r2077380359


##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/descriptors/CatalogZoneDescriptorSerializers.java:
##########
@@ -149,6 +153,7 @@ public void writeTo(CatalogZoneDescriptor descriptor, 
CatalogObjectDataOutput ou
 
             output.writeVarInt(descriptor.partitions());
             output.writeVarInt(descriptor.replicas());
+            output.writeVarInt(descriptor.quorumSize());

Review Comment:
   Since 3.1.0 is not yet released, it's safe to modify the V2 serializer.



##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/descriptors/CatalogZoneDescriptor.java:
##########
@@ -151,6 +160,20 @@ public int replicas() {
         return replicas;
     }
 
+    /**
+     * Return quorum size.
+     */
+    public int quorumSize() {
+        return quorumSize;
+    }
+
+    /**
+     * Return consensus group size.
+     */

Review Comment:
   Added a description.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to