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

[Enterprise Search] Fixes an index name inconsistency bug #151720

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

sphilipse
Copy link
Member

@sphilipse sphilipse commented Feb 21, 2023

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.

@sphilipse sphilipse added release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.7.0 v8.8.0 labels Feb 21, 2023
@sphilipse sphilipse requested a review from a team February 21, 2023 14:45
Copy link
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

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

LGTM

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.2MB 2.2MB -64.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@sphilipse sphilipse merged commit c2f639d into elastic:main Feb 22, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 22, 2023
…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)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.7

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 22, 2023
) (#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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.7.0 v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants