diff --git a/linkis-computation-governance/linkis-manager/linkis-manager-persistence/src/main/java/org/apache/linkis/manager/persistence/impl/DefaultNodeMetricManagerPersistence.java b/linkis-computation-governance/linkis-manager/linkis-manager-persistence/src/main/java/org/apache/linkis/manager/persistence/impl/DefaultNodeMetricManagerPersistence.java index 33c9e02633..fb0e56786e 100644 --- a/linkis-computation-governance/linkis-manager/linkis-manager-persistence/src/main/java/org/apache/linkis/manager/persistence/impl/DefaultNodeMetricManagerPersistence.java +++ b/linkis-computation-governance/linkis-manager/linkis-manager-persistence/src/main/java/org/apache/linkis/manager/persistence/impl/DefaultNodeMetricManagerPersistence.java @@ -119,7 +119,7 @@ public void addOrupdateNodeMetrics(NodeMetrics nodeMetrics) { "ignore update ShuttingDown status node:{} to status:{}", instance, NodeStatus.values()[nodeMetrics.getStatus()].name()); - persistenceNodeMetrics.setStatus(null); + persistenceNodeMetrics.setStatus(oldMetrics.getStatus()); } else { persistenceNodeMetrics.setStatus(nodeMetrics.getStatus()); }