alievmirza commented on code in PR #5083:
URL: https://github.com/apache/ignite-3/pull/5083#discussion_r1938952389


##########
modules/raft-api/src/test/java/org/apache/ignite/internal/raft/RaftGroupConfigurationSerializerTest.java:
##########
@@ -61,10 +65,12 @@ void serializationAndDeserializationWithNulls() {
 
     @Test
     void v1CanBeDeserialized() {

Review Comment:
   added



##########
modules/raft-api/src/main/java/org/apache/ignite/internal/raft/RaftGroupConfigurationSerializer.java:
##########
@@ -34,6 +34,8 @@ public class RaftGroupConfigurationSerializer extends 
VersionedSerializer<RaftGr
 
     @Override
     protected void writeExternalData(RaftGroupConfiguration config, 
IgniteDataOutput out) throws IOException {
+        out.writeLong(config.index());

Review Comment:
   created



##########
modules/raft-api/src/main/java/org/apache/ignite/internal/raft/RaftGroupConfiguration.java:
##########
@@ -32,11 +32,16 @@
 public class RaftGroupConfiguration implements Serializable {
     private static final long serialVersionUID = 0;
 
+    private final long index;
+    private final long term;
+
     @IgniteToStringInclude
     private final List<String> peers;
     @IgniteToStringInclude
     private final List<String> learners;
 
+
+

Review Comment:
   removed



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