Skip to content
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

fix: Snapshot QueryableBuffer error #25673

Merged
merged 1 commit into from
Dec 17, 2024
Merged

fix: Snapshot QueryableBuffer error #25673

merged 1 commit into from
Dec 17, 2024

Conversation

pauldix
Copy link
Member

@pauldix pauldix commented Dec 17, 2024

Fixes bug in queryable buffer where if a block of data was missing one of the columns defined in a table, the creation of the logical plan to sort and dedupe the data would fail, causing a panic.

Fixes #25670

Fixes bug in queryable buffer where if a block of data was missing one of the columns defined in a table sort key, the creation of the logical plan to sort and dedupe the data would fail, causing a panic.

Fixes #25670
@pauldix pauldix force-pushed the pd/buffer-persist-error branch from 4430744 to fe1a22a Compare December 17, 2024 21:33
@pauldix pauldix changed the title fix: Snapshot QueryableBuffer error (just a reproducer for now) fix: Snapshot QueryableBuffer error Dec 17, 2024
@pauldix pauldix marked this pull request as ready for review December 17, 2024 21:33
Copy link
Contributor

@hiltontj hiltontj left a comment

Choose a reason for hiding this comment

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

LGTM - one question I have: we are okay with having NULL values in the tags, i.e., series key columns?

This makes sense for backward compatibility, but I'm not sure if that will have any negative consequences in future.

@pauldix
Copy link
Member Author

pauldix commented Dec 17, 2024

I believe we are ok with it. Although maybe the should be empty strings?

@pauldix
Copy link
Member Author

pauldix commented Dec 17, 2024

I'm going to merge for now, but we may always want to have an empty string for any series key value not present. Logged #25674 to discuss.

@pauldix pauldix merged commit 31b9209 into main Dec 17, 2024
14 checks passed
@pauldix pauldix deleted the pd/buffer-persist-error branch December 17, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WAL files being written too frequently, causing high file count & storage
2 participants