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

QueryAsync Count Charge Not Reported #426

Open
aluitink opened this issue Apr 6, 2024 · 1 comment
Open

QueryAsync Count Charge Not Reported #426

aluitink opened this issue Apr 6, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue

Comments

@aluitink
Copy link

aluitink commented Apr 6, 2024

Describe the bug
QueryAsync performs a Count but does log or include the additional RUs Charged in the result.

To Reproduce
Create a Type/Repository/OffsetByPageNumberSpecification
Add a lot of items to the repository
Perform a low RU query

Expected behavior
All RUs consumed will be reported.

Actual behavior
Only RUs from the query spec are reported.

Environment summary
SDK Version: IEvangelist.Azure.CosmosRepository - 8.1.4 / Microsoft.Azure.Cosmos - 3.38.0
OS Version: Windows

@IEvangelist IEvangelist added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue labels Apr 16, 2024
@IEvangelist
Copy link
Owner

Hi @aluitink - thanks for reporting this. Would you be interested in providing a PR to address the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs 🙏🏽 Happy to consider a pull review to address this issue
Projects
None yet
Development

No branches or pull requests

2 participants