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 many files bug #920

Merged
merged 2 commits into from
Apr 3, 2023
Merged

Fix many files bug #920

merged 2 commits into from
Apr 3, 2023

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Apr 3, 2023

I made the test fail by making the file name really long.

Made the file name repeat the number multiple times so a radix tree does not optimize the long name away, just in case we do radix trees in the future.

Just use a long file name to stress
@rklaehn
Copy link
Contributor Author

rklaehn commented Apr 3, 2023

Fixes #915

flub
flub previously approved these changes Apr 3, 2023
write_buf does not guarantee that the entire buffer is written.
@rklaehn rklaehn merged commit ed8469d into main Apr 3, 2023
@rklaehn rklaehn deleted the fix-many-files-bug branch April 3, 2023 15:24
matheus23 pushed a commit that referenced this pull request Nov 14, 2024
* test: make the many_files test fail for 10000 files

Just use a long file name to stress

* fix: make sure we write the entire collection

write_buf does not guarantee that the entire buffer is written.
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