Skip to content

Fix Dynamo cluster watcher shutdown ordering - #3932

Merged
ThePumpingLemma merged 1 commit into
masterfrom
dgrochowski/fix-cluster-watcher-deps
Sep 22, 2026
Merged

ThePumpingLemma merged 1 commit into
masterfrom
dgrochowski/fix-cluster-watcher-deps

Conversation

@ThePumpingLemma

Copy link
Copy Markdown
Collaborator

Description

During shutdown, DynamoClusterWatcherTask removes the local member from DynamoDB. Its service graph did not require the repeated-task queue or DynamoDB service to remain available, so either dependency could stop before cleanup ran.

This adds both dependencies to the watcher service. It also logs watcher startup and shutdown to make lifecycle ordering visible.

Testing Strategy

No manual testing. CI covers this lifecycle change.

Risk

Low. This changes only service startup and shutdown order in misk-clustering-dynamodb.

Generated with Codex

Keep the watcher running until its task queue and DynamoDB service have stopped accepting work. This lets shutdown remove the local member while DynamoDB is still available.
@ThePumpingLemma
ThePumpingLemma marked this pull request as ready for review September 22, 2026 15:44
@ThePumpingLemma
ThePumpingLemma added this pull request to the merge queue Sep 22, 2026
Merged via the queue into master with commit aab078f Sep 22, 2026
25 checks passed
@ThePumpingLemma
ThePumpingLemma deleted the dgrochowski/fix-cluster-watcher-deps branch September 22, 2026 17:47
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