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

alwaysUsePagedFluxMaxItemCount #36847

Merged

Conversation

xinlian12
Copy link
Member

Issue:
PageSize from byPage is not always being honored
CosmosQueryRequestOption option = new CosmosQueryRequestOption()
Step 1: query(option).byPage(pageSize)
Step 2: query(option).byPage() -> we are expecting it to use the default pageSize in CosmosPagedFluxOptions, but for certain scenario, it is reusing the pageSize from step1

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 19, 2023

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-cosmos

Copy link
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @xinlian12

@kushagraThapar
Copy link
Member

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12 xinlian12 force-pushed the alwaysUsePageSizeFromPagedFluxIfExists branch from e9023c8 to 45cc67a Compare September 23, 2023 14:53
@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12
Copy link
Member Author

Failed test: maxValueExceedingDefinedLimitStillWorksWithoutException

Tested locally succeeded and the changes in this PR does not touch metrics related logic.
But this is a newly failing test which need attention, will fix it in another PR.

@xinlian12
Copy link
Member Author

/check-enforcer override

@xinlian12 xinlian12 merged commit b21e8a8 into Azure:main Sep 23, 2023
55 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants