Xinyu Tan created RATIS-2037:
--------------------------------
Summary: Ratis supports modifying IP and Port
Key: RATIS-2037
URL: https://issues.apache.org/jira/browse/RATIS-2037
Project: Ratis
Issue Type: Improvement
Reporter: Xinyu Tan
Currently, in some scenarios, the IP and Port of IoTDB users may change, thus
there is a need to update the IP and Port. However, we've found that Ratis does
not seem to support updating IP and Port, and we want to create an issue to
consider the feasibility of this problem.
Being able to update dynamically would be best, but updating IP and Port seems
to also require a restart, and reaching consensus on all nodes in a cluster is
technically challenging. Therefore, another feasible approach is to provide a
tool that can support scanning Snapshot and RaftLog when a node is shut down,
and then modify the related Peer's IP and Port in the current node data file.
This is equivalent to modifying through offline operations, ensuring that
manual modifications are made only when all cluster nodes are offline, which
can avoid many complexities of dynamic changes.
What's your opinion? [~szetszwo]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)