for (String parentId : shardInfo.getParentShardIds()) { maxParentDepth = Math.max(maxParentDepth, populateDepth(parentId,
for (String shardId : shardInfo.getParentShardIds()) { KinesisClientLease lease = leaseManager.getLease(shardId); if (lease != null) { LOG.info("No need to block on parents " + shardInfo.getParentShardIds() + " of shard " + shardInfo.getShardId()); return new TaskResult(null);