Skip to content

[Backport] projection segment merge fixes#17503

Merged
clintropolis merged 1 commit intoapache:31.0.1from
clintropolis:backport-17460-to-31.0.1
Nov 22, 2024
Merged

[Backport] projection segment merge fixes#17503
clintropolis merged 1 commit intoapache:31.0.1from
clintropolis:backport-17460-to-31.0.1

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #17460 to 31.0.1.

changes:
* fix issue when merging projections from multiple-incremental persists which was hoping that some 'dim conversion' buffers were not closed, but they already were (by the merging iterator). fix involves selectively persisting these conversion buffers to temp files in the segment write out directory and mapping them and tying them to the segment level closer so that they are available after the lifetime of the parent merger
* modify auto column serializers to use segment write out directory for temp files instead of java.io.tmpdir
* fix queryable index projection to not put the time-like column as a dimension, instead only adding it as __time
* use smoosh for temp files so can safely write any Serializer to a temp smoosh
@clintropolis clintropolis force-pushed the backport-17460-to-31.0.1 branch from f063197 to d45b5cb Compare November 22, 2024 19:52
@clintropolis clintropolis merged commit c9aac1b into apache:31.0.1 Nov 22, 2024
@clintropolis clintropolis deleted the backport-17460-to-31.0.1 branch November 22, 2024 22:58
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.

1 participant