milvus/internal/rootcoord/constrant.go
Jiquan Long cb51d410a2
Limit max shard num to 64 (#19776)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2022-10-14 14:51:23 +08:00

12 lines
322 B
Go

package rootcoord
const (
// TODO: better to make them configurable, use default value if no config was set since we never explode these before.
globalIDAllocatorKey = "idTimestamp"
globalIDAllocatorSubPath = "gid"
globalTSOAllocatorKey = "timestamp"
globalTSOAllocatorSubPath = "tso"
maxShardNum = 64
)