Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
wss committed Jan 9, 2019
1 parent 372e1d6 commit b69aeef
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/dist/replication/replication.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -333,18 +333,19 @@ struct configuration_proposal_action
// 4:i64 period_ts;
}

enum balancer_request_type {
enum balancer_request_type
{
move_primary,
copy_primary,
copy_secondary,
}

struct configuration_balancer_request
{
1 : dsn.gpid gpid;
2 : list<configuration_proposal_action> action_list;
3 : optional bool force = false;
4 : balancer_request_type balance_type;
1:dsn.gpid gpid;
2:list<configuration_proposal_action> action_list;
3:optional bool force = false;
4:balancer_request_type balance_type;
}

struct configuration_balancer_response
Expand Down

0 comments on commit b69aeef

Please sign in to comment.