Change proxy max shard num (#23777)

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
This commit is contained in:
smellthemoon 2023-04-27 22:20:35 +08:00 committed by GitHub
parent e467e0d451
commit 45fbe1d1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ proxy:
# As of today (2.2.0 and after) it is strongly DISCOURAGED to set maxFieldNum >= 64.
# So adjust at your risk!
maxFieldNum: 64
maxShardNum: 64 # Maximum number of shards in a collection
maxShardNum: 16 # Maximum number of shards in a collection
maxDimension: 32768 # Maximum dimension of a vector
# Whether to produce gin logs.\n
# please adjust in embedded Milvus: false

View File

@ -949,7 +949,7 @@ So adjust at your risk!`,
p.MaxShardNum = ParamItem{
Key: "proxy.maxShardNum",
DefaultValue: "64",
DefaultValue: "16",
Version: "2.0.0",
PanicIfEmpty: true,
Doc: "Maximum number of shards in a collection",