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

Store file size in normal files, not extended attributes #54

Merged
merged 10 commits into from
May 15, 2021

Conversation

nroi
Copy link
Owner

@nroi nroi commented May 15, 2021

Fixes #52: Introduce checks to test if a file is empty.

Extended attributes have caused issues for some users in the past, e.g. #34, #40 and #20. In addition, user extended attributes are not supported by tmpfs, but it would be useful to run our docker integration tests in a tmpfs to avoid lags caused by write-heavy operations (see #27).

Since extended attributes have no important advantages when compared to storing the content length in a normal file, the decision was made to store the content length in a normal file.

This means Flexo now has no special requirements about the file system being used.

@nroi nroi merged commit 33c5797 into master May 15, 2021
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.

[bug] flexo serves 0 length files
1 participant