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

[Cosmos] move is_system_key logic to be computed only once on container usage #23169

Closed
simorenoh opened this issue Feb 22, 2022 · 0 comments · Fixed by #23821
Closed

[Cosmos] move is_system_key logic to be computed only once on container usage #23169

simorenoh opened this issue Feb 22, 2022 · 0 comments · Fixed by #23821
Assignees
Labels
blocking-release Blocks release Client This issue points to a problem in the data-plane of the library. Cosmos

Comments

@simorenoh
Copy link
Member

simorenoh commented Feb 22, 2022

A user reported the fact that the async client couldn't properly deal with single partition queries since the result of the call to is_system_key was not being awaited properly. Due to this, we have a mitigation, but it is not ideal: #22893

We are currently awaiting the result of this network call once for every query being executed with a partition key, adding overhead for each query when it is only needed once in order to populate the container settings and then be used from there. Have tried a couple different things but haven't gotten it to work yet.

Expected outcome would be to run this network call only once as stated before - need to find a way to do so.

User issue in question: #22861

@simorenoh simorenoh added Cosmos Client This issue points to a problem in the data-plane of the library. cosmos-v4-python labels Feb 22, 2022
@simorenoh simorenoh self-assigned this Feb 22, 2022
@simorenoh simorenoh added the blocking-release Blocks release label Feb 22, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocking-release Blocks release Client This issue points to a problem in the data-plane of the library. Cosmos
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant