sashapolo commented on code in PR #1366:
URL: https://github.com/apache/ignite-3/pull/1366#discussion_r1033209749


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/LeaderOrTxState.java:
##########
@@ -20,35 +20,34 @@
 import java.io.Serializable;
 import org.apache.ignite.internal.tx.TxMeta;
 import org.apache.ignite.internal.tx.message.TxStateReplicaRequest;
-import org.apache.ignite.network.ClusterNode;
 import org.jetbrains.annotations.Nullable;
 
 /**
- * Response for the {@link TxStateReplicaRequest}. Can contain either the 
Partition Group leader, which should be
+ * Response for the {@link TxStateReplicaRequest}. Can contain either the 
consistent ID of the Partition Group leader, which should be
  * queried for the TX Meta, or the TX Meta itself.
  */
 public class LeaderOrTxState implements Serializable {
     private static final long serialVersionUID = -3555591755828355117L;
 
     @Nullable
-    private final ClusterNode leader;
+    private final String leaderName;

Review Comment:
   Name and consistent ID are the same thing (I know, this ambiguity is very 
misleading)



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