fanhualta commented on a change in pull request #3191:
URL: https://github.com/apache/iotdb/pull/3191#discussion_r639892382
##########
File path:
cluster/src/main/java/org/apache/iotdb/cluster/partition/slot/SlotPartitionTable.java
##########
@@ -175,11 +219,21 @@ public PartitionGroup getHeaderGroup(Node node) {
return ret;
}
+ @Override
+ public PartitionGroup getHeaderGroup(RaftNode raftNode) {
+ return getHeaderGroup(raftNode, this.nodeRing);
+ }
+
+ @Override
+ public PartitionGroup getHeaderGroup(Node node) {
+ return getHeaderGroup(new RaftNode(node, 0));
+ }
Review comment:
Just for compatibility. I have removed the interface now.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]