check 'desired_capacity' when recovering cluster

Registered by RUIJIE YUAN on 2017-05-24

The BP is about checking desired_capacity(the real number of nodes the cluster should have) when recovering cluster.
Which means, we will create nodes when the number of nodes in the cluster is less than 'desired_capacity', otherwise, we will
delete nodes from the cluster.

The plan:

1. Add parameter to ClusterRecoverRequest API called "check_capacity"
2. Do check and trigger action in engine service layer.
    Trigger CLUSTER_RESIEZE if needed, make sure this action will be executed before CLUSTER_RECOVER

Blueprint information

Status:
Started
Approver:
Qiming Teng
Priority:
High
Drafter:
RUIJIE YUAN
Direction:
Approved
Assignee:
RUIJIE YUAN
Definition:
Approved
Series goal:
None
Implementation:
Good progress
Milestone target:
None
Started by
Qiming Teng on 2017-06-05

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.