Skip to content

Commit

Permalink
model: add DroppingDefinitions for PartitionInfo (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeng-ustc authored Aug 28, 2020
1 parent eee0290 commit a883f6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,9 @@ type PartitionInfo struct {
Definitions []PartitionDefinition `json:"definitions"`
// AddingDefinitions is filled when adding a partition that is in the mid state.
AddingDefinitions []PartitionDefinition `json:"adding_definitions"`
Num uint64 `json:"num"`
// DroppingDefinitions is filled when dropping a partition that is in the mid state.
DroppingDefinitions []PartitionDefinition `json:"dropping_definitions"`
Num uint64 `json:"num"`
}

// GetNameByID gets the partition name by ID.
Expand Down

0 comments on commit a883f6f

Please sign in to comment.