Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
7d49a48b
M
milvus
项目概览
milvus
/
milvus
11 个月 前同步成功
通知
261
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
7d49a48b
编写于
10月 13, 2021
作者:
N
nameczz
提交者:
GitHub
10月 13, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[skip ci] Add ShowPartitionsResponse comments in milvus.proto (#9712)
Signed-off-by:
N
Gitea
<
zizhao.chen@zilliz.com
>
上级
21c80f06
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
32 addition
and
12 deletion
+32
-12
internal/proto/milvus.proto
internal/proto/milvus.proto
+14
-3
internal/proto/milvuspb/milvus.pb.go
internal/proto/milvuspb/milvus.pb.go
+18
-9
未找到文件。
internal/proto/milvus.proto
浏览文件 @
7d49a48b
...
...
@@ -349,6 +349,7 @@ message GetPartitionStatisticsResponse {
common.Status
status
=
1
;
repeated
common.KeyValuePair
stats
=
2
;
}
/*
* List all partitions for particular collection
*/
...
...
@@ -367,13 +368,23 @@ message ShowPartitionsRequest {
ShowType
type
=
6
;
}
/*
* List all partitions for particular collection response.
* The returned datas are all rows, we can format to columns by therir index.
*/
message
ShowPartitionsResponse
{
// Contain error_code and reason
common.Status
status
=
1
;
// All partition names for this collection
repeated
string
partition_names
=
2
;
// All partition ids for this collection
repeated
int64
partitionIDs
=
3
;
repeated
uint64
created_timestamps
=
4
;
// hybrid timestamps
repeated
uint64
created_utc_timestamps
=
5
;
// physical timestamps
repeated
int64
inMemory_percentages
=
6
;
// load percentage on querynode
// All hybrid timestamps
repeated
uint64
created_timestamps
=
4
;
// All utc timestamps calculated by created_timestamps
repeated
uint64
created_utc_timestamps
=
5
;
// Load percentage on querynode
repeated
int64
inMemory_percentages
=
6
;
}
message
DescribeSegmentRequest
{
...
...
internal/proto/milvuspb/milvus.pb.go
浏览文件 @
7d49a48b
...
...
@@ -1713,16 +1713,25 @@ func (m *ShowPartitionsRequest) GetType() ShowType {
return
ShowType_All
}
//
// List all partitions for particular collection response.
// The returned datas are all rows, we can format to columns by therir index.
type
ShowPartitionsResponse
struct
{
Status
*
commonpb
.
Status
`protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
PartitionNames
[]
string
`protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
PartitionIDs
[]
int64
`protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
CreatedTimestamps
[]
uint64
`protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
CreatedUtcTimestamps
[]
uint64
`protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
InMemoryPercentages
[]
int64
`protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
// Contain error_code and reason
Status
*
commonpb
.
Status
`protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// All partition names for this collection
PartitionNames
[]
string
`protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
// All partition ids for this collection
PartitionIDs
[]
int64
`protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
// All hybrid timestamps
CreatedTimestamps
[]
uint64
`protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
// All utc timestamps calculated by created_timestamps
CreatedUtcTimestamps
[]
uint64
`protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
// Load percentage on querynode
InMemoryPercentages
[]
int64
`protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ShowPartitionsResponse
)
Reset
()
{
*
m
=
ShowPartitionsResponse
{}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录