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

No longer file:allocate CQv2 index files #4735

Merged
merged 1 commit into from May 6, 2022

Conversation

lhoguin
Copy link
Contributor

@lhoguin lhoguin commented May 5, 2022

As discussed on Slack following #4721.

This is both an alternative fix for #4721 and an improvement to the way v2 index segment files are handled: we no longer pre-allocate the files, so there is no platform differences anymore (there was for at least Windows and FreeBSD+ZFS), and the files do not unnecessarily take space on disk.

@dumbbell
Copy link
Member

dumbbell commented May 5, 2022

gmake ct-backing_queue succeeds on my FreeBSD+ZFS laptop.

@lhoguin
Copy link
Contributor Author

lhoguin commented May 5, 2022

The property suite has found issues. Will investigate tomorrow.

@essen essen force-pushed the loic-dont-allocate-cqv2-index branch from 88aa4bb to e09906c Compare May 6, 2022 09:04
@lhoguin
Copy link
Contributor Author

lhoguin commented May 6, 2022

I have fixed the property suite, it was missing a case clause during recovery.

@lhoguin lhoguin marked this pull request as ready for review May 6, 2022 09:44
@lhoguin
Copy link
Contributor Author

lhoguin commented May 6, 2022

This is both an alternative fix for #4721 and an improvement to the way v2 index segment files are handled: we no longer pre-allocate the files, so there is no platform differences anymore (there was for at least Windows and FreeBSD+ZFS), and the files do not unnecessarily take space on disk.

@michaelklishin michaelklishin merged commit 22955b1 into master May 6, 2022
@michaelklishin michaelklishin deleted the loic-dont-allocate-cqv2-index branch May 6, 2022 11:43
@michaelklishin michaelklishin added this to the 3.10.1 milestone May 6, 2022
michaelklishin added a commit that referenced this pull request May 6, 2022
No longer file:allocate CQv2 index files (backport #4735)
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.

None yet

3 participants