Fixing condition check
This commit is contained in:
parent
b636edd007
commit
950faf7475
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ public class ShutdownTask implements ConsumerTask {
|
||||||
// if childshards is empty. When child shards is empty then either it is due to
|
// if childshards is empty. When child shards is empty then either it is due to
|
||||||
// completed shard being reprocessed or we got RNF from service.
|
// completed shard being reprocessed or we got RNF from service.
|
||||||
// For these cases enqueue the lease for deletion.
|
// For these cases enqueue the lease for deletion.
|
||||||
if (isSuccess || !CollectionUtils.isNullOrEmpty(childShards)) {
|
if (isSuccess || CollectionUtils.isNullOrEmpty(childShards)) {
|
||||||
leaseCleanupManager.enqueueForDeletion(leasePendingDeletion);
|
leaseCleanupManager.enqueueForDeletion(leasePendingDeletion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue