提交 4af39148 编写于 作者: X XuanYang-cn 提交者: yefu.chen

add segmengt statistics message in datanode and Update documentation

Signed-off-by: NXuanYang-cn <xuan.yang@zilliz.com>
上级 0164e78b
......@@ -4,7 +4,7 @@
#### 8.1 Overview
<img src="./figs/query_service.jpeg" width=700>
<img src="./figs/query_service.png" width=700>
......
......@@ -190,7 +190,7 @@ type DataNode interface {
WatchDmChannels(req WatchDmChannelRequest) error
//WatchDdChannel(channelName string) error
//SetTimeTickChannel(channelName string) error
//SetStatsChannel(channelName string) error
//SetStatisticsChannel(channelName string) error
FlushSegments(req FlushSegRequest) error
}
......@@ -218,3 +218,18 @@ type FlushSegRequest struct {
}
```
* *SegmentStatistics*
```go
type SegmentStatisticsUpdates struct {
SegmentID UniqueID
MemorySize int64
NumRows int64
}
type SegmentStatistics struct{
MsgBase
SegStats []*SegmentStatisticsUpdates
}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册