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 bug in spill file name allocation #1391

Merged
merged 1 commit into from
Sep 29, 2020
Merged

fix bug in spill file name allocation #1391

merged 1 commit into from
Sep 29, 2020

Conversation

mccanne
Copy link
Collaborator

@mccanne mccanne commented Sep 29, 2020

The recent refactor of the spill code into its own module introduced
a bug where the file names could collide because they were named
after their position in the spill table, which grows and shrinks.
This caused distinct spills to have the same file name. The fix is
to track the total number of spills and name the file after this.

The recent refactor of the spill code into its own module introduced
a bug where the file names could collide because they were named
after their position in the spill table, which grows and shrinks.
This caused distinct spills to have the same file name.  The fix is
to track the total number of spills and name the file after this.
@mccanne mccanne requested a review from a team September 29, 2020 22:51
@mccanne mccanne merged commit aac5d89 into master Sep 29, 2020
@mccanne mccanne deleted the fix-spill-bug branch September 29, 2020 23:37
brim-bot pushed a commit to brimdata/zui that referenced this pull request Sep 29, 2020
This is an auto-generated commit with a zq dependency update. The zq PR
brimdata/super#1391, authored by @mccanne,
has been merged.

fix bug in spill file name allocation

The recent refactor of the spill code into its own module introduced
a bug where the file names could collide because they were named
after their position in the spill table, which grows and shrinks.
This caused distinct spills to have the same file name.  The fix is
to track the total number of spills and name the file after this.
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.

2 participants