Skip to content

[TEST] Add coverage for disabling sequence numbers in TSDB ITs#143897

Merged
kkrik-es merged 19 commits intoelastic:mainfrom
kkrik-es:tsdb/seqno-trim-tests
Mar 11, 2026
Merged

[TEST] Add coverage for disabling sequence numbers in TSDB ITs#143897
kkrik-es merged 19 commits intoelastic:mainfrom
kkrik-es:tsdb/seqno-trim-tests

Conversation

@kkrik-es
Copy link
Copy Markdown
Member

@kkrik-es kkrik-es commented Mar 9, 2026

Related to #136305

@kkrik-es kkrik-es self-assigned this Mar 9, 2026
@kkrik-es kkrik-es added >test Issues or PRs that are addressing/adding tests :StorageEngine/TSDB You know, for Metrics Team:StorageEngine labels Mar 9, 2026
@kkrik-es kkrik-es changed the title Disable sequence numbers in TSDB integration tests [TEST] Add coverage for disabling sequence numbers in TSDB ITs Mar 10, 2026
@kkrik-es kkrik-es requested review from fcofdez and romseygeek March 10, 2026 06:31
@kkrik-es kkrik-es marked this pull request as ready for review March 10, 2026 06:31
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

if ((indexMode == IndexMode.LOGSDB || indexMode == IndexMode.TIME_SERIES)
&& IndexMetadata.SETTING_INDEX_VERSION_CREATED.get(settings).onOrAfter(IndexVersions.SEQ_NO_WITHOUT_POINTS)) {
&& (IndexMetadata.SETTING_INDEX_VERSION_CREATED.get(settings).onOrAfter(IndexVersions.SEQ_NO_WITHOUT_POINTS)
|| IndexMetadata.SETTING_INDEX_VERSION_CREATED.get(settings).equals(IndexVersions.ZERO))) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

validateIndexTemplateV2 does index settings validation without necessarily populating the index version. We can either fix that, or bypass the check when the version's missing as above.

Copy link
Copy Markdown
Contributor

@fcofdez fcofdez left a comment

Choose a reason for hiding this comment

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

LGTM

@kkrik-es kkrik-es added the test-release Trigger CI checks against release build label Mar 10, 2026
@kkrik-es kkrik-es enabled auto-merge (squash) March 10, 2026 15:18
@kkrik-es kkrik-es removed the test-release Trigger CI checks against release build label Mar 11, 2026
@kkrik-es kkrik-es merged commit 131ea45 into elastic:main Mar 11, 2026
36 checks passed
jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Mar 11, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Mar 11, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Mar 11, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Mar 11, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
jdconrad pushed a commit to jdconrad/elasticsearch that referenced this pull request Mar 11, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
michalborek pushed a commit to michalborek/elasticsearch that referenced this pull request Mar 23, 2026
…ic#143897)

* Disable sequence numbers in TSDB integration tests

* [CI] Auto commit changes from spotless

* fix compilation test

* fix test

* fix rest tests

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
@kkrik-es kkrik-es deleted the tsdb/seqno-trim-tests branch April 6, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:StorageEngine/TSDB You know, for Metrics Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants