-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Labels
type/featureIssues about a new featureIssues about a new feature
Description
Is your feature request related to a problem?
need to get more meter detail from openapi
Describe the feature you'd like
/api/v1/tasks/{task-name}/status
should return IO counter in sync unit status
dumpstatus and loadstatus fields should response in openapi
// grpc:
type DumpStatus struct {
TotalTables int64 `protobuf:"varint,1,opt,name=totalTables,proto3" json:"totalTables,omitempty"`
CompletedTables float64 `protobuf:"fixed64,2,opt,name=completedTables,proto3" json:"completedTables,omitempty"`
FinishedBytes float64 `protobuf:"fixed64,3,opt,name=finishedBytes,proto3" json:"finishedBytes,omitempty"`
FinishedRows float64 `protobuf:"fixed64,4,opt,name=finishedRows,proto3" json:"finishedRows,omitempty"`
EstimateTotalRows float64 `protobuf:"fixed64,5,opt,name=estimateTotalRows,proto3" json:"estimateTotalRows,omitempty"`
Bps int64 `protobuf:"varint,6,opt,name=bps,proto3" json:"bps,omitempty"`
Progress string `protobuf:"bytes,7,opt,name=progress,proto3" json:"progress,omitempty"`
}
type LoadStatus struct {
FinishedBytes int64 `protobuf:"varint,1,opt,name=finishedBytes,proto3" json:"finishedBytes,omitempty"`
TotalBytes int64 `protobuf:"varint,2,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
Progress string `protobuf:"bytes,3,opt,name=progress,proto3" json:"progress,omitempty"`
MetaBinlog string `protobuf:"bytes,4,opt,name=metaBinlog,proto3" json:"metaBinlog,omitempty"`
MetaBinlogGTID string `protobuf:"bytes,5,opt,name=metaBinlogGTID,proto3" json:"metaBinlogGTID,omitempty"`
Bps int64 `protobuf:"varint,6,opt,name=bps,proto3" json:"bps,omitempty"`
}
// openapi:
type LoadStatus struct {
FinishedBytes int64 `json:"finished_bytes"`
MetaBinlog string `json:"meta_binlog"`
MetaBinlogGtid string `json:"meta_binlog_gtid"`
Progress string `json:"progress"`
TotalBytes int64 `json:"total_bytes"`
}
// status of dump unit
type DumpStatus struct {
CompletedTables float64 `json:"completed_tables"`
EstimateTotalRows float64 `json:"estimate_total_rows"`
FinishedBytes float64 `json:"finished_bytes"`
FinishedRows float64 `json:"finished_rows"`
TotalTables int64 `json:"total_tables"`
}
Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response
Metadata
Metadata
Assignees
Labels
type/featureIssues about a new featureIssues about a new feature