pinecone-io / pinecone-client

Apache License 2.0
12 stars 2 forks source link

[Bug] getting transport error when making concurrent queries #24

Open minzhang-haus opened 11 months ago

minzhang-haus commented 11 months ago

Is this a new bug?

Current Behavior

I have a single pinecone Client instance created and reused in the whole app. I notice that whenever i have concurrent queries, I will be getting the following errors for some of them. Do you know what may cause this and how to resolve it?

pinecone_client.PineconeOpError: status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }\n'

Expected Behavior

Able to handle concurrent queries

Steps To Reproduce

  1. create a Pinecone client instance and the index by get_index
  2. fire concurrent queries with the index.get_query() method

Relevant log output

pinecone_client.PineconeOpError: status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }\n'

Environment

- **Language version**:python 3.11.4
- **Pinecone client version**:3.0.0rc2

Additional Context

No response