go-ds-flatfs

A datastore implementation using sharded directories and flat files to store data

MIT License

Stars
46
Committers
30

Bot releases are visible (Hide)

go-ds-flatfs - v0.5.1 Latest Release

Published by lidel over 2 years ago

What's Changed

Full Changelog: https://github.com/ipfs/go-ds-flatfs/compare/v0.5.0...v0.5.1

go-ds-flatfs - v0.5.0

Published by lidel over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/ipfs/go-ds-flatfs/compare/v0.4.5...v0.5.0

go-ds-flatfs - v0.4.5

Published by willscott about 4 years ago

Fix renaming across directories for plan9

go-ds-flatfs - v0.4.4

Published by Stebalien over 4 years ago

Better disk operation retry logic:

  1. Retry the disk operations directly instead of higher level operations.
  2. Retry renames and deletes.
go-ds-flatfs - v0.4.3

Published by Stebalien over 4 years ago

  • Make sure to clean up temporary files, even when making multiple writes to the same key.
  • Retry reads everywhere if we have too many files open.
  • Re-try on put with too many files open.
go-ds-flatfs - v0.4.2

Published by Stebalien over 4 years ago

Open files in "shared delete" mode on windows to ensure that concurrently reading and replacing a block doesn't return an error.

go-ds-flatfs - v0.4.1

Published by Stebalien over 4 years ago

This release ensures temporary files are actually deleted. Previously, we'd write temporary files to the same directory as the rest of the data. However, if we failed to finish a put (crashed, closed, failed for some other reason, etc.), we'd leave the temporary file behind in many cases (after trying to remove it once).

Now, we put all temporary files in a temporary directory, and clean out the entire temporary directory on start.

go-ds-flatfs - Release v0.4.0

Published by Stebalien over 4 years ago

  • Supports the complete query logic (through a naive, very slow implementation).
  • Explicitly forbids unsupported keys instead of failing with cryptic errors at runtime on different platforms.