- 28 Mar, 2020 1 commit
-
-
Steven Allen authored
feat(mount): don't give up on error
-
- 18 Feb, 2020 2 commits
-
-
Steven Allen authored
/test: fix bad ElemCount/10 lenght (should not be divided)
-
Hector Sanjuan authored
-
- 15 Feb, 2020 4 commits
-
-
Steven Allen authored
Fix test log message about number of values put
-
Steven Allen authored
test suite: Add ElemCount to control how many elements are added.
-
Hector Sanjuan authored
-
Hector Sanjuan authored
-
- 14 Feb, 2020 1 commit
-
-
Steven Allen authored
fix: avoid filtering by prefix unless necessary
-
- 11 Feb, 2020 7 commits
-
-
Steven Allen authored
feat: add upper-case keys at a known prefix
-
Steven Allen authored
I need this for testing flatfs.
-
Steven Allen authored
There's no need to filter by the / prefix.
-
Steven Allen authored
Instead of giving up when a single datastore fails, operate on all datastores first. That way: * If one datastore doesn't support disk usage, we can at least return our best estimate for the ones that do. * If one datastore fails to sync, we won't fail to sync the others. * If one datastore refuses to close, we'll close the others. Etc. Also: * Drop xerrors. We already need go 1.13 elsewhere. * Use uber's multierr. It's much simpler than hashicorps (and is already a dependency through zap, fx, etc.).
-
Steven Allen authored
test(suite): add a bunch of prefix tests for the new behavior
-
Steven Allen authored
-
Steven Allen authored
Only count a key as an ancestor if there is a separator
-
- 10 Feb, 2020 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
This should have already been committed...
-
Steven Allen authored
-
- 06 Feb, 2020 1 commit
-
-
Steven Allen authored
-
- 05 Feb, 2020 1 commit
-
-
Steven Allen authored
Also make sure to clean and normalize keys before using them as prefixes. BREAKING CHANGES: * `myds.Query(Query{Prefix:"/foo"})` will no longer match "/foobar" (or even "/foo"). This is usually what the user expects, we had a tendency to normalize "/foo/" to "/foo" (when we clean keys), and many datastores can't efficiently search for prefixes that aren't on path-boundaries anyways. * Given a mount datastore with mounts `["/foo", "/"]`, `myds.Put("/foo", "bar")` will put the value to the datastore mounted at "/", not "/foo", as the key "/" and "" usually doesn't make sense. While technically breaking, these changes are much more likely to fix bugs than they are to break things.
-
- 16 Dec, 2019 1 commit
-
-
Steven Allen authored
fix go-check path to use "gopkg.in/check.v1"
-
- 15 Dec, 2019 3 commits
-
-
george xie authored
-
george xie authored
-
george xie authored
-
- 05 Dec, 2019 7 commits
-
-
Steven Allen authored
LogDatastore fulfills the Datastore interface again
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
Adin Schmahmann authored
ci: switch from Travis to Circle
-
Adin Schmahmann authored
-
- 03 Dec, 2019 4 commits
-
-
Steven Allen authored
Support Asynchronous Writing Datastores
-
Adin Schmahmann authored
-
Adin Schmahmann authored
interface(Datastore): added Sync function to the Datastore, along with implementations in helper Datastores
-
Adin Schmahmann authored
-
- 02 Dec, 2019 1 commit
-
-
Steven Allen authored
add a Size field to Query's Result
-
- 22 Nov, 2019 4 commits
-
-
Michael Muré authored
-
Michael Muré authored
-
Michael Muré authored
-
Michael Muré authored
query: allow to always request the size alongside KeysOnly, allow impl to always return the size if no perf cost
-