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

feat(policy): enable support for 10k+ policies #9177

Merged

Conversation

david-leifker
Copy link
Collaborator

Fetching policies was previously limited to 30 policy pages. This PR increases to 1000 by default. Secondly, moving to the scroll API which performs better with deep pagination in the 10k+ policy counts.

The graphql API changes are not included so we're forced to stay compatible with the current start/offset and count by paginating in the background when needed for the UI.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added product PR or Issue related to the DataHub UI/UX devops PR or Issue related to DataHub backend & deployment labels Nov 3, 2023
@david-leifker david-leifker marked this pull request as draft November 3, 2023 21:26
@pedro93
Copy link
Collaborator

pedro93 commented Nov 5, 2023

Please check the failing CI

@david-leifker
Copy link
Collaborator Author

CI failures unrelated to the changes in this PR

@david-leifker david-leifker merged commit 23c98ec into datahub-project:master Nov 7, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops PR or Issue related to DataHub backend & deployment product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants