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

Web console: fix pagination and filtering regression in supervisor view #16571

Conversation

vogievetsky
Copy link
Contributor

This PR fixes 3 bugs in the supervisor view introduced as part of #16318:

  • Pagination will never show up because dynamically queried supervisors will never satisfy the supervisors.length > SMALL_TABLE_PAGE_SIZE condition
  • Filtering on the Status column fails. This is due to a typo (internally the column is actually called detailed_state)
  • Typing something into the filter then deleting it produces an invalid query with an empty WHERE

Copy link
Contributor

@cryptoe cryptoe left a comment

Choose a reason for hiding this comment

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

@vogievetsky The UT failure looks legit.

@cryptoe cryptoe merged commit efe9079 into apache:master Jun 7, 2024
12 checks passed
@vogievetsky vogievetsky deleted the fix_pagination_and_filtering_in_supervisor_view branch June 7, 2024 15:40
cryptoe pushed a commit to cryptoe/druid that referenced this pull request Jun 7, 2024
…ew (apache#16571)

* fix pagination and filtering in supervisor view

* update snapshot

(cherry picked from commit efe9079)
vogievetsky added a commit that referenced this pull request Jun 7, 2024
…ew (#16571) (#16575)

* fix pagination and filtering in supervisor view

* update snapshot

(cherry picked from commit efe9079)

Co-authored-by: Vadim Ogievetsky <[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.

2 participants