Skip to content
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]: Query return failed when running GO-SDK CI #39148

Open
1 task done
chyezh opened this issue Jan 10, 2025 · 2 comments
Open
1 task done

[Bug]: Query return failed when running GO-SDK CI #39148

chyezh opened this issue Jan 10, 2025 · 2 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@chyezh
Copy link
Contributor

chyezh commented Jan 10, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version: master-4355b485e54f254c30ca1fe67c1262fca6d6c649
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

https://jenkins.milvus.io:18080/blue/organizations/jenkins/Milvus%20HA%20CI(go-sdk)/detail/PR-38677/31/pipeline/80

2025-01-10T04:50:27Z {container="step-test"} Error Trace:	/milvus/tests/go_client/common/response_checker.go:28

2025-01-10T04:50:27Z {container="step-test"} /milvus/tests/go_client/testcases/load_release_test.go:337

2025-01-10T04:50:27Z {container="step-test"} Error:      	Error "fail to Query on QueryNode 1: worker(1) query failed: St12out_of_range :unordered_map::at" does not contain "field dynamicNumber cannot be returned since dynamic field not loaded"

2025-01-10T04:50:27Z {container="step-test"} Test:       	TestLoadSkipDynamicField

2025-01-10T04:50:27Z {container="step-test"} [2025/01/10 04:50:27.389 +00:00] [INFO] [base/milvus_client.go:32] [Request] [method=DropCollection] [reqs="{\"collection_name\":\"pre_gritIU\"}"]

2025-01-10T04:50:27Z {container="step-test"} [2025/01/10 04:50:27.484 +00:00] [INFO] [base/milvus_client.go:32] [Response] [method=DropCollection] [resp={}]

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@chyezh chyezh added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jan 10, 2025
@chyezh
Copy link
Contributor Author

chyezh commented Jan 10, 2025

/assign

@chyezh
Copy link
Contributor Author

chyezh commented Jan 10, 2025

Data race found at internal/core/src/segcore/SegmentSealedImpl.cpp
There's no mutex protected for unordered_map.
Should be implemented like following:

    std::shared_ptr<SingleChunkColumnBase> column;
    {
        std::shared_lock lck(mutex_);
        column = fields_.at(field_id);
    }

@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jan 11, 2025
@yanliang567 yanliang567 removed their assignment Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

2 participants