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

Add feature flag db.enable_paginate_window #3802

Conversation

joaopapereira
Copy link
Contributor

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request, please provide us with the following:

  • A short explanation of the proposed change:
    This feature flag, if not present, will default to the current behavior of using the window pagination, but when it is set to false, it will fall back on using the other pagination method when accessing the database.

  • An explanation of the use cases your change solves
    This change will allow the operator to disable the window for pagination for all the tables in a single place. Will also allow us to debug possible performance issues with the window pagination in other tables.

  • Links to any other associated PRs

  • [ x ] I have reviewed the contributing guide

  • [ x ] I have viewed, signed, and submitted the Contributor License Agreement

  • [ x ] I have made this pull request to the main branch

  • [ x ] I have run all the unit tests using bundle exec rake

  • [ ] I have run CF Acceptance Tests

This feature flag if not present it will default to the current
behavior of using the window pagination, but when it is set to false it
will fall back on using the other pagination method when accessing the
database.

Signed-off-by: João Pereira <joaod@vmware.com>
- Fix tests that are running against versions of MariaDB that do not support window function
- Incorporate PR comments

Signed-off-by: João Pereira <joaod@vmware.com>
@philippthun philippthun merged commit 684d013 into cloudfoundry:main May 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants