未验证 提交 99304d16 编写于 作者: R ryjiang 提交者: GitHub

[skip ci]Add comments in chap06_root_coordinator.md (#11865)

Signed-off-by: Nruiyi.jiang <ruiyi.jiang@zilliz.com>
上级 79d6f9b0
......@@ -637,19 +637,16 @@ _tenantMetaBlob_, _proxyMetaBlob_, _collectionInfoBlob_, _partitionInfoBlob_, _I
```go
type metaTable struct {
client kv.SnapShotKV
tenantID2Meta map[typeutil.UniqueID]pb.TenantMeta
proxyID2Meta map[typeutil.UniqueID]pb.ProxyMeta
collID2Meta map[typeutil.UniqueID]pb.CollectionInfo
collName2ID map[string]typeutil.UniqueID
partitionID2Meta map[typeutil.UniqueID]pb.PartitionInfo
segID2IndexMeta map[typeutil.UniqueID]*map[typeutil.UniqueID]pb.SegmentIndexInfo
indexID2Meta map[typeutil.UniqueID]pb.IndexInfo
segID2CollID map[typeutil.UniqueID]typeutil.UniqueID
segID2PartitionID map[typeutil.UniqueID]typeutil.UniqueID
flushedSegID map[typeutil.UniqueID]bool
partitionID2CollID map[typeutil.UniqueID]typeutil.UniqueID
vChan2Chan map[string]string
txn kv.TxnKV // client of a reliable txnkv service, i.e. etcd client
snapshot kv.SnapShotKV // client of a reliable snapshotkv service, i.e. etcd client
tenantID2Meta map[typeutil.UniqueID]pb.TenantMeta // tenant id to tenant meta
proxyID2Meta map[typeutil.UniqueID]pb.ProxyMeta // proxy id to proxy meta
collID2Meta map[typeutil.UniqueID]pb.CollectionInfo // collection_id -> meta
collName2ID map[string]typeutil.UniqueID // collection name to collection id
collAlias2ID map[string]typeutil.UniqueID // collection alias to collection id
partID2SegID map[typeutil.UniqueID]map[typeutil.UniqueID]bool // partition_id -> segment_id -> bool
segID2IndexMeta map[typeutil.UniqueID]map[typeutil.UniqueID]pb.SegmentIndexInfo // collection_id/index_id/partition_id/segment_id -> meta
indexID2Meta map[typeutil.UniqueID]pb.IndexInfo // collection_id/index_id -> meta
tenantLock sync.RWMutex
proxyLock sync.RWMutex
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册