-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Enterprise Search] Fixes an index name inconsistency bug #151720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…1720) This fixes a bug where sometimes (after creating a crawler index) we'd see some inconsistent index name usage with unexpected redirects. This was caused by the search index component not unloading properly. Removing the `prop` usage makes sure we're no longer relying on loading/unloading to set the index name. (cherry picked from commit c2f639d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) (#151825) # Backport This will backport the following commits from `main` to `8.7`: - [[Enterprise Search] Fixes an index name inconsistency bug (#151720)](#151720) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sander Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-02-22T08:29:31Z","message":"[Enterprise Search] Fixes an index name inconsistency bug (#151720)\n\nThis fixes a bug where sometimes (after creating a crawler index) we'd\r\nsee some inconsistent index name usage with unexpected redirects. This\r\nwas caused by the search index component not unloading properly.\r\nRemoving the `prop` usage makes sure we're no longer relying on\r\nloading/unloading to set the index name.","sha":"c2f639d1691d2dfe647db19d655beec7122330f0","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.7.0","v8.8.0"],"number":151720,"url":"https://github.com/elastic/kibana/pull/151720","mergeCommit":{"message":"[Enterprise Search] Fixes an index name inconsistency bug (#151720)\n\nThis fixes a bug where sometimes (after creating a crawler index) we'd\r\nsee some inconsistent index name usage with unexpected redirects. This\r\nwas caused by the search index component not unloading properly.\r\nRemoving the `prop` usage makes sure we're no longer relying on\r\nloading/unloading to set the index name.","sha":"c2f639d1691d2dfe647db19d655beec7122330f0"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151720","number":151720,"mergeCommit":{"message":"[Enterprise Search] Fixes an index name inconsistency bug (#151720)\n\nThis fixes a bug where sometimes (after creating a crawler index) we'd\r\nsee some inconsistent index name usage with unexpected redirects. This\r\nwas caused by the search index component not unloading properly.\r\nRemoving the `prop` usage makes sure we're no longer relying on\r\nloading/unloading to set the index name.","sha":"c2f639d1691d2dfe647db19d655beec7122330f0"}}]}] BACKPORT--> Co-authored-by: Sander Philipse <[email protected]>
This fixes a bug where sometimes (after creating a crawler index) we'd see some inconsistent index name usage with unexpected redirects. This was caused by the search index component not unloading properly. Removing the
prop
usage makes sure we're no longer relying on loading/unloading to set the index name.