Nacos modify weight error caused: errCode: 500, errMsg: do metadata operation failed; caused: com.alibaba.nacos.con

When learning Nacos, modify the weight of the service in the cluster and report error 500, hereby record it.

The error is as follows:

caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.consistency.exception.ConsistencyException: 
The Raft Group [naming_instance_metadata] did not find the Leader node;caused: The Raft Group [naming_instance_metadata] did not
find the Leader node;
  • Stop nacos service
  • Delete the protocol folder in the data under the nacos folder
  • Restart the nacos service

Guess you like

Origin blog.csdn.net/qq_60361946/article/details/127734073