commit | 8bc2f61b7c55b175e58f4577e824b946b2baa2f8 | [log] [tgz] |
---|---|---|
author | Murtadha Hubail <murtadha.hubail@couchbase.com> | Wed Sep 14 03:38:21 2022 +0300 |
committer | Murtadha Hubail <mhubail@apache.org> | Wed Sep 14 15:42:57 2022 +0000 |
tree | 316e20e5f4de636c013f99b9e4a56e5b40a2c674 | |
parent | c77174917bc8de3b3a0d050d06ec1b06ce39bf0f [diff] |
[NO ISSUE][CLUS] Clean Up Failed Nodes List - user model changes: no - storage format changes: no - interface changes: no Details: - When a node is removed, ensure it is removed from the failed nodes list. Change-Id: I278164f8bf9190804d31a6d92a9e78230a3b463c Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17226 Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhubail@apache.org> Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
diff --git a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/ClusterStateManager.java b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/ClusterStateManager.java index 052f568..d3c87ff 100644 --- a/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/ClusterStateManager.java +++ b/asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/ClusterStateManager.java
@@ -420,6 +420,7 @@ clusterPartitions.remove(nodePartition.getPartitionId()); } participantNodes.remove(nodeId); + failedNodes.remove(nodeId); } }