Added TODO for childshards update fix
This commit is contained in:
parent
9115f2000b
commit
02ea8cd70f
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ public class ShutdownTask implements ConsumerTask {
|
|||
|
||||
final Lease updatedLease = currentLease.copy();
|
||||
updatedLease.childShardIds(childShardIds);
|
||||
// TODO : the following update will silently fail. Make changes to use the new leaserefresher#updateLease(Lease lease, UpdateField updateField)
|
||||
leaseCoordinator.updateLease(updatedLease, UUID.fromString(shardInfo.concurrencyToken()), SHUTDOWN_TASK_OPERATION, leaseKeyProvider.apply(shardInfo));
|
||||
log.info("Shard {}: Updated current lease {} with child shard information: {}", shardInfo.shardId(), currentLease.leaseKey(), childShardIds);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue