Skip to content

Fix flaky RootFlattenedFromKeyedFieldDataTests#144814

Merged
parkertimmins merged 7 commits intoelastic:mainfrom
parkertimmins:fix/root-flattened-field-data-test-multi-segment
Mar 25, 2026
Merged

Fix flaky RootFlattenedFromKeyedFieldDataTests#144814
parkertimmins merged 7 commits intoelastic:mainfrom
parkertimmins:fix/root-flattened-field-data-test-multi-segment

Conversation

@parkertimmins
Copy link
Copy Markdown
Contributor

Force merge to single segment before opening the reader so that all documents are visible in the first leaf context. RandomIndexWriter can split documents across multiple segments, causing advanceExact to fail for doc IDs beyond the first segment's range.

Made-with: Cursor

Fixes #144691

Force merge to single segment before opening the reader
so that all documents are visible in the first leaf context.
RandomIndexWriter can split documents across multiple
segments, causing advanceExact to fail for doc IDs beyond
the first segment's range.

Made-with: Cursor
@parkertimmins parkertimmins added >non-issue :StorageEngine/Mapping The storage related side of mappings v9.4.0 labels Mar 23, 2026
@parkertimmins parkertimmins requested review from jordan-powers and removed request for jordan-powers March 23, 2026 22:13
@parkertimmins parkertimmins marked this pull request as ready for review March 23, 2026 22:13
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@parkertimmins parkertimmins enabled auto-merge (squash) March 24, 2026 15:41
@parkertimmins parkertimmins disabled auto-merge March 25, 2026 16:12
@parkertimmins parkertimmins enabled auto-merge (squash) March 25, 2026 16:15
@parkertimmins parkertimmins merged commit a168012 into elastic:main Mar 25, 2026
37 checks passed
seanzatzdev pushed a commit to seanzatzdev/elasticsearch that referenced this pull request Mar 27, 2026
Force merge to single segment before opening the reader so that all documents are visible in the first leaf context. RandomIndexWriter can split documents across multiple segments, causing advanceExact to fail for doc IDs beyond the first segment's range.
mamazzol pushed a commit to mamazzol/elasticsearch that referenced this pull request Mar 30, 2026
Force merge to single segment before opening the reader so that all documents are visible in the first leaf context. RandomIndexWriter can split documents across multiple segments, causing advanceExact to fail for doc IDs beyond the first segment's range.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] RootFlattenedFromKeyedFieldDataTests testRandomized failing

5 participants