Skip to content

[TSDB] Exclude index.block.write setting when creating rollup index #88812

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

Merged
merged 3 commits into from
Jul 26, 2022

Conversation

csoulios
Copy link
Contributor

@csoulios csoulios commented Jul 26, 2022

PR #88565 modified the rollup action so that it copies all index settings from the source to the rollup index.
However, the rollup action expilitly requires that the source index has the index.block.write: true.

Since the rollup index must be writeable when it is created, this PR excludes the index.block.write index setting when creating the rollup index.

The index.block.write index setting is explictly set to true at the end of the rollup action (step 4).

@csoulios csoulios added >non-issue :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data v8.4.0 labels Jul 26, 2022
@csoulios csoulios requested a review from nik9000 July 26, 2022 14:29
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 26, 2022
@csoulios csoulios changed the title [TSDB] Exclude index.block.write index setting when creating rollup index [TSDB] Exclude index.block.write setting when creating rollup index Jul 26, 2022
@csoulios csoulios merged commit 5f59c1c into elastic:main Jul 26, 2022
@csoulios csoulios deleted the copy-setting-index-block branch July 26, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants