The GitHub Actions job "CI" on fluss.git/main has succeeded.
Run started by GitHub user fresh-borzoni (triggered by fresh-borzoni).

Head commit for run:
c41a96a21b95a556cc3321fe426b39939f7a0064 / Hongshun Wang 
<[email protected]>
[server] Wait for coordinator leader cleanup during shutdown (#3649)

* [server] Wait for coordinator leader cleanup during shutdown

CoordinatorLeaderElection previously shut down its callback executor
immediately after closing the LeaderLatch. Since the notLeader callback
performs leader cleanup asynchronously on the same executor, shutdown
could interrupt or cancel the cleanup task.

Explicitly trigger the idempotent cleanup during close, wait for the
pending cleanup to finish, and gracefully terminate the callback
executor. Add a regression test verifying that close waits for leader
cleanup.

* Use state machine to manager the lifestyle of  CoordinatorLeaderElection.

* modified based on anton's advice

---------

Co-authored-by: Hongshun Wang <loserwang1024@gmail>

Report URL: https://github.com/apache/fluss/actions/runs/29590859950

With regards,
GitHub Actions via GitBox

Reply via email to