Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The state of each interpreter is stored in the cluster metadata, including the interpreter's thrift interface IP and port. When the interpreter does not send a heartbeat to the cluster for a certain period of time, the cluster sets the interpreter to offline (Because it may be temporary network failure, be careful not to delete the metadata of the interpreter directly, because the interpreter will send the interpreter's thrift IP and port information when connecting to the cluster for the first time, and will only send heartbeat information later.)
When the cluster discovery interpreter has not sent heartbeat information for a long time, the interpreter is removed from the cluster metadata to avoid storing many useless interpreters in the cluster metadata.