未验证 提交 00a5c39c 编写于 作者: X Xiaofan 提交者: GitHub

Remove unnecessary variables in allocator (#7849)

Signed-off-by: Nxiaofan-luan <xiaofan.luan@zilliz.com>
上级 87460665
......@@ -34,12 +34,12 @@ type idAllocatorInterface interface {
AllocID(ctx context.Context, req *rootcoordpb.AllocIDRequest) (*rootcoordpb.AllocIDResponse, error)
}
// ID Allocator allocate Unique and monotonically increasing IDs from Root Coord.
// It could also batch allocate for less root coord server access
type IDAllocator struct {
Allocator
etcdEndpoints []string
metaRoot string
idAllocator idAllocatorInterface
idAllocator idAllocatorInterface
countPerRPC uint32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册