Maxim Khutornenko created AURORA-756:
----------------------------------------
Summary: startUpdate fails with "Instance count must be positive."
Key: AURORA-756
URL: https://issues.apache.org/jira/browse/AURORA-756
Project: Aurora
Issue Type: Bug
Components: Scheduler
Reporter: Maxim Khutornenko
When a noop update is requested (i.e. all instances are already in desired
state), the UpdateFactory.newUpdate fails checkArgument validation in:
{noformat}
checkArgument(
!instructions.getDesiredState().getInstances().isEmpty(),
"Instance count must be positive.");
{noformat}
Recommend fixing it with https://reviews.apache.org/r/25481, which replaces
that validation with the one in SchedulerThriftInterface before any diff
applied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)