Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented May 5, 2023

Backport of #95880

…c#95880)

The analytics event emitter delegates the posted events to a bulk processor.
When deleting the analytics collection, there's no guarantee that some events are
still in flight. This change ensures that these events cannot re-create the underlying
index after its deletion.

Closes elastic#95629
Closes elastic#95657
Closes elastic#95686
Closes elastic#95717
@jimczi jimczi added >test Issues or PRs that are addressing/adding tests backport :EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team v8.8.1 labels May 5, 2023
@jimczi jimczi requested review from afoucret, carlosdelest and joemcelroy and removed request for afoucret May 5, 2023 15:46
@jimczi jimczi merged commit 47d0eed into elastic:8.8 May 5, 2023
@jimczi jimczi deleted the disable_auto_creation_ingest_service_backport branch May 5, 2023 18:41
jimczi added a commit to jimczi/elasticsearch that referenced this pull request May 10, 2023
The previous fix (elastic#95890) that relied on an alias couldn't work since we're not using an explicit alias to index documents.
We don't have any test that checks if the events are correctly indexed so I had to manually check this change.
I also had to use 8.8 since the feature is in broken state in main due to elastic#95917.
I am opening this PR as a quick fix for 8.8.x and will open another one to add explicit tests for the indexation.
jimczi added a commit that referenced this pull request May 10, 2023
…6001)

The previous fix (#95890) that relied on an alias couldn't work since we're not using an explicit alias to index documents.
We don't have any test that checks if the events are correctly indexed so I had to manually check this change.
I also had to use 8.8 since the feature is in broken state in main due to #95917.
I am opening this PR as a quick fix for 8.8.x and will open another one to add explicit tests for the indexation.
jimczi added a commit to jimczi/elasticsearch that referenced this pull request May 10, 2023
…astic#96001)

The previous fix (elastic#95890) that relied on an alias couldn't work since we're not using an explicit alias to index documents.
We don't have any test that checks if the events are correctly indexed so I had to manually check this change.
I also had to use 8.8 since the feature is in broken state in main due to elastic#95917.
I am opening this PR as a quick fix for 8.8.x and will open another one to add explicit tests for the indexation.
jimczi added a commit that referenced this pull request May 10, 2023
…6001) (#96005)

The previous fix (#95890) that relied on an alias couldn't work since we're not using an explicit alias to index documents.
We don't have any test that checks if the events are correctly indexed so I had to manually check this change.
I also had to use 8.8 since the feature is in broken state in main due to #95917.
I am opening this PR as a quick fix for 8.8.x and will open another one to add explicit tests for the indexation.
@gmarouli gmarouli added v8.8.0 and removed v8.8.1 labels May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team >test Issues or PRs that are addressing/adding tests v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants