System hangs during raft node initialization on macOS in situations where initialization should fail #281
Closed
2 of 3 tasks
Labels
fix/bug
Fixes errant behavior
Affected Branch
We have observed that
basic_raft_cluster_failure_test
hangs on macOS (observed in the macOS CI, as well as on an M3 Mac running macOS Sonoma). This is because of the following block of code inutil/raft/node.cpp:46-63
On MacOS,
m_launcher.init()
returns true in situations where the raft instance cannot successfully be initialized, causing the waiting loop to be infinite. This does not appear to happen on Linux (verified on Ubuntu).This error occurs in the NuRaft codebase, and so I propose two potential solutions here
Basic Diagnostics
I've pulled the latest changes on the affected branch and the issue is still present.
The issue is reproducible in docker
Description
In order to reproduce the issue, follow these steps:
basic_raft_cluster_failure_test
on MacOSCode of Conduct
The text was updated successfully, but these errors were encountered: