refresh_node_heartbeat_cache/1 deletes ETS entries for dead nodes from the bucket listing. When a node no longer appears in the listing, the node stays cached in the table and get_cluster_nodes/1 continues to report it as alive. This can happen during a graceful shutdown after the node cleans up its object, or during a crash for every node that loses the race to delete the object.
refresh_node_heartbeat_cache/1deletes ETS entries for dead nodes from the bucket listing. When a node no longer appears in the listing, the node stays cached in the table andget_cluster_nodes/1continues to report it as alive. This can happen during a graceful shutdown after the node cleans up its object, or during a crash for every node that loses the race to delete the object.