vmware-go-kcl-v2/clientlibrary
Tao Jiang 8369884952 Remove shard info in checkpointer (#29)
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>
2021-12-20 21:21:14 -06:00
..
checkpoint Use AWS built-in retry logic and refactor tests (#24) 2021-12-20 21:21:14 -06:00
common KCL: Update copyright and permission 2021-12-20 21:16:27 -06:00
config Add credential configuration for resources (#14) 2021-12-20 21:21:14 -06:00
interfaces KCL: Update copyright and permission 2021-12-20 21:16:27 -06:00
metrics Add credential configuration for resources (#14) 2021-12-20 21:21:14 -06:00
partition Add support for providing custom checkpointer (#17) 2021-12-20 21:21:14 -06:00
utils KCL: Fix random number generator 2021-12-20 21:16:38 -06:00
worker Remove shard info in checkpointer (#29) 2021-12-20 21:21:14 -06:00