mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Fix case error msg after knowhere upgrade (#37339)
Previous PR: #37315 Error message updated after knowhere behavior change, this PR update corresponding test error message. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
5aad000a93
commit
be71b98146
@ -71,7 +71,7 @@ func (sd *shardDelegator) forwardL0Deletion(ctx context.Context,
|
||||
}
|
||||
|
||||
func (sd *shardDelegator) forwardStreamingDeletion(ctx context.Context, deleteData []*DeleteData) {
|
||||
// TODO add `auto` policy
|
||||
// TODO @congqixia add `auto` policy
|
||||
// using direct when streaming size is too large
|
||||
// need some experimental data to support this policy
|
||||
switch policy := paramtable.Get().QueryNodeCfg.StreamingDeltaForwardPolicy.GetValue(); policy {
|
||||
|
||||
@ -1004,7 +1004,7 @@ func TestCreateIndexInvalidParams(t *testing.T) {
|
||||
|
||||
idxIvfPq := index.NewIvfPQIndex(entity.L2, 128, 7, 8)
|
||||
_, err := mc.CreateIndex(ctx, client.NewCreateIndexOption(schema.CollectionName, common.DefaultFloatVecFieldName, idxIvfPq))
|
||||
common.CheckErr(t, err, false, "dimension must be able to be divided by `m`")
|
||||
common.CheckErr(t, err, false, "The dimension of a vector (dim) should be a multiple of the number of subquantizers (m)")
|
||||
|
||||
// invalid Hnsw M [1, 2048], efConstruction [1, 2147483647]
|
||||
for _, invalidM := range []int{0, 2049} {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user