blazingmq
blazingmq copied to clipboard
Feat FSM mode: Still write to QList file
In the existing code, FSM mode never writes to QList file. In this PR, we add a new doesFSMWriteQLIST flag to determine whether FSM mode still writes to QList file. Note that the PartitionFSMs do not synchronize QList file; they only synchronize journal and data files. Such synchronization will be added in a subsequent PR.
A benefit of this PR is that we are finally able to test switching from non-FSM to FSM then back to non-FSM in test_restart.py.
Also note that this PR is low-risk since it only affects FSM mode.
@dorjesinpo Addressed feedback. Back to you
@dorjesinpo Back to you