Skip to content

Commit

Permalink
fix ec illegal status
Browse files Browse the repository at this point in the history
  • Loading branch information
aiceflower committed Jul 25, 2023
1 parent 0fa2a56 commit 5241a5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 5241a5e

Please sign in to comment.