mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
Remove unnecessary variables in allocator (#7849)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
87460665e0
commit
00a5c39c2f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user