New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Load collection is failing for collection with sparse and dense vectors in 2.4 #32757
Comments
/assign @liliu-z |
/assign @zhengbuqian |
hi @kdabbir , can you try running the https://github.com/milvus-io/pymilvus/blob/master/examples/hello_sparse.py and the https://github.com/milvus-io/pymilvus/blob/master/examples/hello_hybrid_sparse_dense.py script and see if any error occurs? I tried to reproduce the error by running your script against my milvus standalone and got no error. From query worker logs I see tons of |
@kdabbir did your instance share the object storage with other milvus instance? |
To supplement @congqixia , the error log basically indicates the segment object file is not found(code 404) in the s3 bucket, causing the load to fail. |
thanks for your inputs.I'll see if i can spin up a new cluster and test this functionality out. What is weird is the standard operations were working Object store is shared but I've specified a different root path. Need to check if there is something wrong with the config |
Is there an existing issue for this?
Environment
Current Behavior
After inserting over 400 rows for a collection with sparse and dense vectors, collection load was getting stuck and hybrid search query was not working.
Below were the errors I observed in data-worker:
[2024/05/02 17:23:14.783 +00:00] [WARN] [querynodev2/services.go:311] ["failed to load growing segments"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [channel=by-dev-milvus24tests-dml_0_449477877573946718v0] [currentNodeID=5] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"] [2024/05/02 17:23:14.782 +00:00] [WARN] [delegator/delegator_data.go:359] ["failed to load growing segment"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [channel=by-dev-milvus24tests-dml_0_449477877573946718v0] [replicaID=449477880396120068] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"] [2024/05/02 17:23:14.776 +00:00] [WARN] [segments/segment_loader.go:612] ["release new segment created due to load failure"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [segmentType=Growing] [requestSegments="[449477877574146799]"] [preparedSegments="[449477877574146799]"] [segmentID=449477877574146799] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"] [2024/05/02 17:23:14.776 +00:00] [WARN] [segments/segment_loader.go:705] ["failed to load some segments"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [segmentType=Growing] [requestSegments="[449477877574146799]"] [preparedSegments="[449477877574146799]"] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"] [2024/05/02 17:23:14.776 +00:00] [DEBUG] [funcutil/parallel.go:54] [loadSegmentFunc] [total=1] ["time cost"=18.390614ms] [2024/05/02 17:23:14.776 +00:00] [ERROR] [funcutil/parallel.go:88] [loadSegmentFunc] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"] [idx=0] [stack="github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n\t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:88"] [2024/05/02 17:23:14.776 +00:00] [INFO] [segments/segment_loader.go:672] ["load segment done"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [segmentType=Growing] [requestSegments="[449477877574146799]"] [preparedSegments="[449477877574146799]"] [partitionID=449477877573946719] [segmentID=449477877574146799] [segmentType=Legacy] [2024/05/02 17:23:14.776 +00:00] [WARN] [segments/segment_loader.go:670] ["load segment failed when load data into memory"] [traceID=4176ad1fefe68560ce2d35431a7d1bca] [collectionID=449477877573946718] [segmentType=Growing] [requestSegments="[449477877574146799]"] [preparedSegments="[449477877574146799]"] [partitionID=449477877573946719] [segmentID=449477877574146799] [segmentType=Legacy] [error="At LoadSegment: std::exception"] [errorVerbose="At LoadSegment: std::exception\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/querynodev2/segments.(*segmentLoader).Load.func4\n | \t/go/src/github.com/milvus-io/milvus/internal/querynodev2/segments/segment_loader.go:680\n | github.com/milvus-io/milvus/pkg/util/funcutil.ProcessFuncParallel.func3\n | \t/go/src/github.com/milvus-io/milvus/pkg/util/funcutil/parallel.go:86\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1598\nWraps: (2) At LoadSegment\nWraps: (3) std::exception\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"]
Expected Behavior
Collection load should be successful and hybrid search working
Steps To Reproduce
Milvus Log
Attached export of milvus log in below zip:
milvus-log-6.zip
Attached test script in below zip:
milvus_hybridsearch_test_script.py.zip
Anything else?
No response
The text was updated successfully, but these errors were encountered: