blazingmq icon indicating copy to clipboard operation
blazingmq copied to clipboard

Fix [MQB]: mqbc::StorageMgr: Transition to available only when all primary active

Open kaikulimu opened this issue 1 year ago • 1 comments

Fixes two flaky integration tests in FSM mode:

  1. In test_basic of test_restart.py, there was an issue where a replica could advertise availability before all primaries are active; then, a proxy could repoen queue and post message with no avail. The fix is to transition to available only when all primaries are active.

  2. In test_kill_post_start of test_strong_consistency.py, there was an issue where replicas are not issuing receipts to the primary after restart. This was because healing replicas in FSM mode were not buffering primary status advisories to process later, and thus not setting the correct primary in the FileStore. After I added the buffering logic, the tests pass.

kaikulimu avatar Sep 04 '24 20:09 kaikulimu

@dorjesinpo Back to you

kaikulimu avatar Sep 12 '24 17:09 kaikulimu