triggerNodeReport
Syntax
triggerNodeReport(nodeAlias)
Arguments
nodeAlias is a STRING scalar indicating the node alias.
Details
Force the specified data node to report the chunk information to the controller to update the metadata maintained on the controller.
When to use this function:
This command is used to solve the problem when the chunk information is not reported after a data node is restarted.
-
Check whether the node is alive with field "state" returned by function
getClusterPerf
; -
Check the chunk information with fields "replicas" and "replicaCount" by calling
getClusterChunksStatus
; -
If the node is alive but the numbers of replicas do not match, you can search the corresponding chunk ID in the log of the controller. Find out the data node that has not reported and call this command on the node to trigger its report.
-
If the command does not take effect, please restart the data node.