milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
30.25k stars 2.9k forks source link

[Bug]: Repeated Error Code in Milvus segcore and go layer. #37357

Open chyezh opened 2 hours ago

chyezh commented 2 hours ago

Is there an existing issue for this?

Environment

- Milvus version: be71b981460e70e695d7f1dc28738bca07e7e688
- 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

Go side:

    ErrSegcoreFollyOtherException = newMilvusError("segcore folly other exception", 2200, false) // throw from segcore.
    ErrSegcoreFollyCancel         = newMilvusError("segcore Future was canceled", 2201, false)   // throw from segcore.
    // import
    ErrImportFailed = newMilvusError("importing data failed", 2100, false)

    // Search/Query related
    ErrInconsistentRequery = newMilvusError("inconsistent requery result", 2200, true)

Cpp side:

    OutOfRange = 2037,
    GcpNativeError = 2038,
    KnowhereError = 2100,

    // timeout or cancel related.
    FollyOtherException = 2200,
    FollyCancel = 2201

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

chyezh commented 2 hours ago

/assign

yanliang567 commented 47 minutes ago

/unassign