Currently when the NN changes state, it does so without synchronization. In particular, the state transition function does:
(1) leave old state
(2) change state variable
(3) enter new state
This means that the NN is marked as "active" before it has actually transitioned to active mode and opened its edit logs. This gives a window where write transactions can come in and the checkOperation allows them, but then they fail because the edit log is not yet opened.