Skip to content

[7.x-backport] Fixes assertion check in RollupShardIndexer (#68878)#69085

Merged
talevy merged 1 commit intoelastic:7.xfrom
talevy:7x-a0d8a89
Feb 16, 2021
Merged

[7.x-backport] Fixes assertion check in RollupShardIndexer (#68878)#69085
talevy merged 1 commit intoelastic:7.xfrom
talevy:7x-a0d8a89

Conversation

@talevy
Copy link
Copy Markdown
Contributor

@talevy talevy commented Feb 16, 2021

This commit removes the assertion in RollupShardIndexer that verifies that
temporary files are deleted. Since it is the responsibility of the indexer
to instruct the OS to delete files, it may not do so in a timely manner. This
results in a potentially flaky assertion. Instead, a new unit test is introduced
that will introspect the indexer and assert that it had successfully called
for the files to be deleted.

backport of #68878.

This commit removes the assertion in RollupShardIndexer that verifies that
temporary files are deleted. Since it is the responsibility of the indexer
to instruct the OS to delete files, it may not do so in a timely manner. This
results in a potentially flaky assertion. Instead, a new unit test is introduced
that will introspect the indexer and assert that it had successfully called
for the files to be deleted.

Closes elastic#68609.
@talevy talevy added >test Issues or PRs that are addressing/adding tests :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Feb 16, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

@talevy talevy merged commit a62a31f into elastic:7.x Feb 16, 2021
@talevy talevy deleted the 7x-a0d8a89 branch February 16, 2021 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants