diff --git a/internal/datacoord/server.go b/internal/datacoord/server.go index b5c0ac15dc29f..ada34adad3c63 100644 --- a/internal/datacoord/server.go +++ b/internal/datacoord/server.go @@ -213,7 +213,7 @@ func CreateServer(ctx context.Context, factory dependency.Factory, opts ...Optio quitCh: make(chan struct{}), factory: factory, flushCh: make(chan UniqueID, 1024), - notifyIndexChan: make(chan UniqueID), + notifyIndexChan: make(chan UniqueID, 1024), dataNodeCreator: defaultDataNodeCreatorFunc, indexNodeCreator: defaultIndexNodeCreatorFunc, rootCoordClientCreator: defaultRootCoordCreatorFunc, diff --git a/tests/go_client/common/utils.go b/tests/go_client/common/utils.go index 7b671b0b8c377..76722bc2008ab 100644 --- a/tests/go_client/common/utils.go +++ b/tests/go_client/common/utils.go @@ -134,8 +134,6 @@ type InvalidExprStruct struct { var InvalidExpressions = []InvalidExprStruct{ {Expr: "id in [0]", ErrNil: true, ErrMsg: "fieldName(id) not found"}, // not exist field but no error {Expr: "int64 in not [0]", ErrNil: false, ErrMsg: "cannot parse expression"}, // wrong term expr keyword - {Expr: "int64 > 10 AND int64 < 100", ErrNil: false, ErrMsg: "cannot parse expression"}, // AND isn't supported - {Expr: "int64 < 10 OR int64 > 100", ErrNil: false, ErrMsg: "cannot parse expression"}, // OR isn't supported {Expr: "int64 < floatVec", ErrNil: false, ErrMsg: "not supported"}, // unsupported compare field {Expr: "floatVec in [0]", ErrNil: false, ErrMsg: "cannot be casted to FloatVector"}, // value and field type mismatch {Expr: fmt.Sprintf("%s == 1", DefaultJSONFieldName), ErrNil: true, ErrMsg: ""}, // hist empty