mirror of https://github.com/milvus-io/milvus.git
Remove unnecessary variables in allocator (#7849)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>pull/7860/head
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