Skip to content
Snippets Groups Projects
Commit 2e9a270e authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

chore: unify codestyle in governor/plan.rs

Here's the order of plan stages for memories:

```
$ grep "return Ok" src/governor/plan.rs
return Ok(ConfChange { conf_change }.into());
return Ok(TransferLeadership { to: new_leader }.into());
return Ok(Downgrade { req }.into());
return Ok(CreateReplicaset { master_id, replicaset_id, rpc, op }.into());
return Ok(UpdateTargetReplicasetMaster { op }.into());
return Ok(Replication { targets, master_id, replicaset_peers, req }.into());
return Ok(UpdateCurrentReplicasetMaster { old_master_id, demote, new_master_id, sync_and_promote, replicaset_id, op }.into());
return Ok(ProposeReplicasetStateChanges { op }.into());
return Ok(UpdateTargetVshardConfig { dml }.into());
return Ok(UpdateCurrentVshardConfig { targets, rpc, dml }.into());
return Ok(ShardingBoot { target, rpc, op }.into());
return Ok(ToOnline { target, rpc, req }.into());
return Ok(ApplySchemaChange { rpc, targets }.into());
```
parent ab377bad
No related branches found
No related tags found
1 merge request!901chore: unify codestyle in governor/plan.rs
Pipeline #35811 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment