未验证 提交 d1197455 编写于 作者: X Xiangpeng Hu 提交者: GitHub

[IOTDB-6082] Improve disk space metrics (#10983)

上级 9669a68b
......@@ -1300,6 +1300,10 @@ public class DataNodeInternalRPCServiceImpl implements IDataNodeRPCService.Iface
commonConfig.getDiskSpaceWarningThreshold());
commonConfig.setNodeStatus(NodeStatus.ReadOnly);
commonConfig.setStatusReason(NodeStatus.DISK_FULL);
} else if (commonConfig.getNodeStatus().equals(NodeStatus.ReadOnly)
&& commonConfig.getStatusReason().equals(NodeStatus.DISK_FULL)) {
commonConfig.setNodeStatus(NodeStatus.Running);
commonConfig.setStatusReason(null);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册