You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/05/24 06:50:02 UTC
[jira] [Resolved] (AURORA-222) Updater should run health checks in
parallel
[ https://issues.apache.org/jira/browse/AURORA-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Farner resolved AURORA-222.
--------------------------------
Resolution: Won't Fix
Closing as won't fix (difficult to choose the right ticket state here). As comments above mention, the client no longer performs health checks.
> Updater should run health checks in parallel
> --------------------------------------------
>
> Key: AURORA-222
> URL: https://issues.apache.org/jira/browse/AURORA-222
> Project: Aurora
> Issue Type: Story
> Components: Client
> Reporter: Kevin Sweeney
>
> Right now when the Updater is operating on a batch of instances and those instances are configured for health checking it runs their health checks sequentially one-instance-at-a-time [1]. This could be trivially parallelized, resulting in a speedup of up to the batch size.
> [1] https://github.com/apache/incubator-aurora/blob/master/src/main/python/apache/aurora/client/api/instance_watcher.py#L106
> {code}
> for instance_id in instance_ids:
> if instance_id not in finished_instances():
> running_task = tasks_by_instance.get(instance_id)
> if running_task is not None:
> task_healthy, retriable = health_check.health(running_task)
> if task_healthy:
> set_instance_healthy(instance_id, now)
> else:
> maybe_set_instance_unhealthy(instance_id, retriable)
> else:
> # Set retriable=True since an instance should be retried if it has not been healthy.
> maybe_set_instance_unhealthy(instance_id, retriable=True)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)