Skip to content

Ensure heartbeat is stopped for graceful handoff lease in shutting do… - #1729

Merged
chenylee-aws merged 1 commit into
awslabs:masterfrom
chenylee-aws:leaseshutdown
Apr 10, 2026
Merged

chenylee-aws merged 1 commit into
awslabs:masterfrom
chenylee-aws:leaseshutdown

Conversation

@chenylee-aws

Copy link
Copy Markdown
Contributor

Description of changes:
Fix graceful lease handoff when a ShardConsumer receives a graceful handoff request before reaching the initialized state. Due to lifecycle management, the ShardConsumer transitions directly from WAITING_ON_PARENT_SHARDS to shutdown, skipping ShutdownNotificationTask, leaving the lease never transferred or dropped.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chenylee-aws
chenylee-aws merged commit 6bbd207 into awslabs:master Apr 10, 2026
4 of 5 checks passed
@chenylee-aws
chenylee-aws deleted the leaseshutdown branch April 10, 2026 17:46

This branch had an error being deployed

1 failed deployment
manual-approval — f3634823 Deployed Apr 10, 2026 by chenylee-aws via wait-for-approval #117
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