Skip to content

Feat FSM mode: Still write to QList file #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jun 24, 2025

Conversation

kaikulimu
Copy link
Collaborator

@kaikulimu kaikulimu commented Mar 18, 2025

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 in existing code the PartitionFSMs do not synchronize QList file; they only synchronize journal and data files; this PR adds sync for QList file.

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.

@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch 2 times, most recently from 1af2464 to 4e9dbfc Compare March 24, 2025 14:31
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch from 9ac9f23 to c7290fd Compare March 28, 2025 18:48
@kaikulimu kaikulimu changed the title Fsm test fsm write qlist Feat FSM mode: Still write to QList file Mar 28, 2025
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch 2 times, most recently from be8a299 to 0853597 Compare March 28, 2025 19:18
@kaikulimu kaikulimu requested a review from dorjesinpo March 28, 2025 19:31
@kaikulimu kaikulimu marked this pull request as ready for review March 28, 2025 19:32
@kaikulimu kaikulimu requested a review from a team as a code owner March 28, 2025 19:32
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch 3 times, most recently from 946ac16 to 339a417 Compare March 28, 2025 19:46
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch 2 times, most recently from c8234b1 to 2814c97 Compare April 8, 2025 19:03
Copy link
Collaborator

@dorjesinpo dorjesinpo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix those IT failures

@dorjesinpo dorjesinpo assigned kaikulimu and unassigned dorjesinpo Apr 9, 2025
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch 11 times, most recently from a130856 to 1a876e7 Compare April 24, 2025 19:57
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch from 6345586 to a813713 Compare April 25, 2025 19:25
Copy link

@bmq-oss-ci bmq-oss-ci bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build 2755 of commit 3eeba18 has completed with FAILURE

@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch from 3eeba18 to a63eca7 Compare June 13, 2025 20:23
Copy link

@bmq-oss-ci bmq-oss-ci bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build 2767 of commit a63eca7 has completed with FAILURE

kaikulimu added 20 commits June 24, 2025 14:26
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
@kaikulimu kaikulimu force-pushed the fsm-test--fsm-write-qlist branch from a63eca7 to 600e57e Compare June 24, 2025 18:26
Copy link
Collaborator

@dorjesinpo dorjesinpo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@kaikulimu kaikulimu merged commit 9a49cac into bloomberg:main Jun 24, 2025
33 of 35 checks passed
@kaikulimu kaikulimu deleted the fsm-test--fsm-write-qlist branch June 24, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants