Skip to content

fix: wait for draining engine before starting again (FIR-50579)#474

Open
ptiurin wants to merge 4 commits intomainfrom
fix-engine-wait
Open

fix: wait for draining engine before starting again (FIR-50579)#474
ptiurin wants to merge 4 commits intomainfrom
fix-engine-wait

Conversation

@ptiurin
Copy link
Contributor

@ptiurin ptiurin commented Nov 6, 2025

Draining is equivalent to stopping so we want to wait for it too before doing any operations with the engine.
Adding this functionality to keep it consistent with how we handle STOPPING and STARTING states.
Currently there would be no breakage as the backend would handle the start/stop mechanism, but this improvement avoids keeping the connection open unnecessarily.

@ptiurin ptiurin marked this pull request as ready for review November 6, 2025 11:56
@ptiurin ptiurin requested a review from a team as a code owner November 6, 2025 11:56
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 6, 2025

@fstr fstr force-pushed the fix-engine-wait branch from 231424c to 428dceb Compare March 23, 2026 11:18
@fstr fstr changed the title fix(FIR-50579): Wait for draining engine before starting again fix: Wait for draining engine before starting again (FIR-50579) Mar 23, 2026
@fstr fstr changed the title fix: Wait for draining engine before starting again (FIR-50579) fix: wait for draining engine before starting again (FIR-50579) Mar 23, 2026
@sonarqubecloud
Copy link

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