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

CUMULUS-3841: Increase fetchRules page size to improve performance. #3779

Merged
merged 7 commits into from
Aug 22, 2024

Conversation

paulpilone
Copy link
Contributor

@paulpilone paulpilone commented Aug 22, 2024

Summary: Summary of changes

Addresses CUMULUS-3841 Increase fetchRules page limit size to improve overall query performance: Develop amazing new feature

Changes

PR Checklist

  • Update CHANGELOG
  • Unit tests
  • Ad-hoc testing - Deploy changes and test manually
  • Integration tests

@paulpilone paulpilone marked this pull request as draft August 22, 2024 16:05
@paulpilone
Copy link
Contributor Author

Addresses #3772

@paulpilone paulpilone marked this pull request as ready for review August 22, 2024 16:45
Copy link
Contributor

Choose a reason for hiding this comment

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

can we add to our unit tests a validation of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated failing test and added a small one that validates the new argument. Fixed a small doc typo too.

Copy link
Contributor

Choose a reason for hiding this comment

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

looks awesome!

@paulpilone paulpilone requested a review from etcart August 22, 2024 17:12
@paulpilone paulpilone merged commit 69c88f4 into master Aug 22, 2024
3 checks passed
Nnaga1 pushed a commit that referenced this pull request Aug 23, 2024
…3779)

* Increase limit of records per page to be 100 from fetchRules function

* Pass pageSize as a parameter from fetchRules function

* minor code cleaning

* Adds change log entry

* Adds unit tests for fetchRules page size argument

* Improves fetchRules pageSize unit test

* Fixes linter errors

---------

Co-authored-by: Hailiang Zhang <[email protected]>
Nnaga1 added a commit that referenced this pull request Aug 23, 2024
* CUMULUS-3796: Prepare Release 18.4.0 (#3774)

* first commit for release-18.4.0

* version v flag in website

* fixing docs/sidebar version + small fix

---------

Co-authored-by: etcart <[email protected]>

* CUMULUS-3840:Fixed @cumulus/api/bin/serve to correctly use EsClient (#3777)

* CUMULUS-3841: Increase fetchRules page size to improve performance. (#3779)

* Increase limit of records per page to be 100 from fetchRules function

* Pass pageSize as a parameter from fetchRules function

* minor code cleaning

* Adds change log entry

* Adds unit tests for fetchRules page size argument

* Improves fetchRules pageSize unit test

* Fixes linter errors

---------

Co-authored-by: Hailiang Zhang <[email protected]>

---------

Co-authored-by: etcart <[email protected]>
Co-authored-by: jennyhliu <[email protected]>
Co-authored-by: Paul Pilone <[email protected]>
Co-authored-by: Hailiang Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants