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

Flash message shown when trying to query during index rebuild shows wrong progress #4964

Closed
reckart opened this issue Jul 28, 2024 · 0 comments
Assignees
Labels
🐛 Bug Something isn't working Module: Project Search
Milestone

Comments

@reckart
Copy link
Member

reckart commented Jul 28, 2024

Describe the bug
The flash message that is shown when trying to query during index rebuild mixes up the done and total number of documents.

To Reproduce
Steps to reproduce the behavior:

  1. Open a large project
  2. Trigger a reindex
  3. Trigger a search on the annotation page
  4. Look at the flash message showing some progress larger than 100%

Expected behavior
The progress should be shown correctly.

Please complete the following information:

  • Version and build ID: 33.3
@reckart reckart added 🐛 Bug Something isn't working Module: Project Search labels Jul 28, 2024
@reckart reckart added this to the 33.4 milestone Jul 28, 2024
@reckart reckart self-assigned this Jul 28, 2024
reckart added a commit that referenced this issue Jul 28, 2024
… shows wrong progress

- Swap done and total values
reckart added a commit that referenced this issue Jul 28, 2024
… shows wrong progress

- Swap done and total values
- Also rebuild index when getting an index writer throws IllegalArgumentException - this happens when an index was written with a newer version of Lucene
reckart added a commit that referenced this issue Jul 28, 2024
…sage-shown-when-trying-to-query-during-index-rebuild-shows-wrong-progress

#4964 - Flash message shown when trying to query during index rebuild shows wrong progress
@reckart reckart closed this as completed Jul 28, 2024
reckart added a commit that referenced this issue Jul 28, 2024
* release/33.x:
  #4964 - Flash message shown when trying to query during index rebuild shows wrong progress
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working Module: Project Search
Projects
Archived in project
Development

No branches or pull requests

1 participant