- 01 Apr, 2020 4 commits
-
-
Steven Allen authored
-
Steven Allen authored
Bump github.com/ipfs/go-datastore from 0.4.2 to 0.4.4
-
Steven Allen authored
Bump github.com/jbenet/goprocess from 0.1.3 to 0.1.4
-
Steven Allen authored
feat: put all temporary files in the same directory and clean them up
-
- 31 Mar, 2020 3 commits
-
-
Steven Allen authored
fix: only log when we find a file we don't expect
-
Steven Allen authored
Otherwise, if we repeatedly stop the same node, we'll collect a bunch of temporary files and NEVER DELETE them. This will: 1. Waste space. 2. Slow down queries/GC. This patch: 1. Moves all temporary files to a single `.temp` directory. The leading `.` means it can't conflict with any keys and queries (even on older flatfs versions) will skip it. 2. Adds an "rm -rf flatfs-dir/.temp" call on start.
-
Steven Allen authored
We _expect_ temporary put- files.
-
- 30 Mar, 2020 4 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.4.2 to 0.4.4. - [Release notes](https://github.com/ipfs/go-datastore/releases) - [Commits](https://github.com/ipfs/go-datastore/compare/v0.4.2...v0.4.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [github.com/jbenet/goprocess](https://github.com/jbenet/goprocess) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/jbenet/goprocess/releases) - [Commits](https://github.com/jbenet/goprocess/compare/v0.1.3...v0.1.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
Bump github.com/ipfs/go-log from 1.0.2 to 1.0.3
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/ipfs/go-log/releases) - [Commits](https://github.com/ipfs/go-log/compare/v1.0.2...v1.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 14 Feb, 2020 9 commits
-
-
Steven Allen authored
Make flatfs robust
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
It's a no-op if we don't need it.
-
Steven Allen authored
-
Steven Allen authored
Only allow keys of the form `/[0-9A-Z+-_=]`. That is, upper-case alphanumeric keys in the root namespace (plus some special characters). Why? We don't encode keys before writing them to the filesystem. This change ensures that: 1. Case sensitivity doesn't matter because we only allow upper-case keys. 2. Path separators and special characters doesn't matter. For context, go-ipfs only uses flatfs for storing blocks. Every block CID is encoded as uppercase alphanumeric text (specifically, uppercase base32). We could be less restrictive, but this is safer and easier to understand. Unfortunately, we _can't_ allow mixed case (Windows) and can't allow lowercase because we're already using uppercase keys. fixes #23
-
Steven Allen authored
That way, we're finally implementing everything.
-
Steven Allen authored
While this datastore is still quite limited, we might as well support everything we easily can.
-
- 11 Feb, 2020 2 commits
-
-
Steven Allen authored
chore: update go-datastore
-
Steven Allen authored
And better handle prefixes.
-
- 09 Dec, 2019 2 commits
-
-
Steven Allen authored
Bump github.com/ipfs/go-datastore from 0.3.0 to 0.3.1
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/ipfs/go-datastore/releases) - [Commits](https://github.com/ipfs/go-datastore/compare/v0.3.0...v0.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 03 Dec, 2019 2 commits
-
-
Steven Allen authored
Update Datastore Interface
-
Adin Schmahmann authored
-
- 02 Dec, 2019 2 commits
-
-
Steven Allen authored
query: deny ReturnsSizes and ReturnExpirations instead of returning wrong result
-
Michael Muré authored
-
- 01 Oct, 2019 2 commits
-
-
Steven Allen authored
Bump github.com/ipfs/go-datastore from 0.1.0 to 0.1.1
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-datastore](https://github.com/ipfs/go-datastore) from 0.1.0 to 0.1.1. - [Release notes](https://github.com/ipfs/go-datastore/releases) - [Commits](https://github.com/ipfs/go-datastore/compare/v0.1.0...v0.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 19 Sep, 2019 2 commits
-
-
Steven Allen authored
doc: add a lead maintainer
-
Steven Allen authored
-
- 21 Aug, 2019 5 commits
-
-
Steven Allen authored
make delete idempotent
-
Steven Allen authored
-
Steven Allen authored
(faster)
-
Steven Allen authored
-
Steven Allen authored
-
- 16 Mar, 2019 1 commit
-
-
Steven Allen authored
remove thread-safe assertion
-
- 15 Mar, 2019 1 commit
-
-
Steven Allen authored
Merge before: https://github.com/ipfs/go-datastore/pull/120
-
- 01 Mar, 2019 1 commit
-
-
Steven Allen authored
-