Currently, only local cached shard info has been removed when worker losts the lease. The info inside checkpointer (dynamoDB) is not removed. This causes lease has been hold until the lease expiration and it might take too long for shard is ready for other worker to grab. This change release the lease in checkpointer immediately. The user need to ensure appropriate checkpointing before return from Shutdown callback. Signed-off-by: Tao Jiang <taoj@vmware.com> |
||
|---|---|---|
| .. | ||
| checkpoint | ||
| common | ||
| config | ||
| interfaces | ||
| metrics | ||
| partition | ||
| utils | ||
| worker | ||