dependabot-preview[bot]
dae196a820
Bump github.com/spf13/viper from 1.6.2 to 1.6.3 ( #148 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.6.2...v1.6.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-05-05 14:54:41 +10:00
dependabot-preview[bot]
028d248d61
Bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0 ( #154 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 14:51:56 +10:00
dependabot-preview[bot]
f943c07b1d
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7 ( #146 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 09:49:21 +10:00
dependabot-preview[bot]
70c4cbe9f8
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0 ( #144 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 18:34:49 +10:00
9901ecfff0
Update deps ( #140 )
2020-03-07 16:58:39 +10:00
dependabot-preview[bot]
e80165ba0f
Bump github.com/tidwall/redcon from 1.2.1 to 1.3.2 ( #139 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.2.1 to 1.3.2.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.2.1...v1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-07 14:14:21 +10:00
dependabot-preview[bot]
fe8baba5f0
Bump github.com/stretchr/testify from 1.4.0 to 1.5.1 ( #135 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-02-21 06:31:53 +10:00
dependabot-preview[bot]
57594913b2
Bump github.com/spf13/cobra from 0.0.5 to 0.0.6 ( #136 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...v0.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-21 06:10:46 +10:00
dependabot-preview[bot]
97e977d803
Bump github.com/tidwall/redcon from 1.2.0 to 1.2.1 ( #133 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 14:15:09 +11:00
dependabot-preview[bot]
bb555aaff5
Bump github.com/tidwall/redcon from 1.1.1 to 1.2.0 ( #130 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.1.1...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 22:35:05 +10:00
dependabot-preview[bot]
e4e52e907b
Bump github.com/tidwall/redcon from 1.1.0 to 1.1.1 ( #125 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 09:39:41 +10:00
dependabot-preview[bot]
26ddef1e55
Bump github.com/spf13/viper from 1.6.1 to 1.6.2 ( #124 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.6.1...v1.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 00:11:53 +02:00
dependabot-preview[bot]
fba88e5f2c
Bump github.com/pkg/errors from 0.9.0 to 0.9.1 ( #123 )
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.9.0...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-16 01:55:28 +02:00
dependabot-preview[bot]
f5a24dbc09
Bump github.com/pkg/errors from 0.8.1 to 0.9.0 ( #122 )
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 22:36:39 +02:00
dependabot-preview[bot]
30e8f33b5d
Bump github.com/tidwall/redcon from 1.0.1 to 1.1.0 ( #121 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.0.1...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-09 22:30:44 +02:00
dependabot-preview[bot]
6395c9bb12
Bump github.com/spf13/viper from 1.4.0 to 1.6.1 ( #120 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.4.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
2019-12-26 15:12:40 +10:00
dependabot-preview[bot]
9daab6dbe0
Bump github.com/spf13/pflag from 1.0.3 to 1.0.5 ( #119 )
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.3 to 1.0.5.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.3...v1.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
2019-12-26 14:55:10 +10:00
dependabot-preview[bot]
a17929665a
Bump github.com/tidwall/redcon from 1.0.0 to 1.0.1 ( #118 )
...
Bumps [github.com/tidwall/redcon](https://github.com/tidwall/redcon ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/tidwall/redcon/releases )
- [Commits](https://github.com/tidwall/redcon/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: James Mills <1290234+prologic@users.noreply.github.com>
2019-12-26 14:40:32 +10:00
dependabot-preview[bot]
4577311471
Bump github.com/stretchr/testify from 1.3.0 to 1.4.0 ( #117 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.3.0...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 14:36:00 +10:00
Ignacio Hagopian
5be114adab
Makefile setup & key/value coherent datatypes & refactoring ( #98 )
...
* internal/data: comment exported functions
* internal/data: make smaller codec exported api surface
* make key and value sizes serializing bubble up to everything
* Makefile setup & go mod tidy
2019-09-12 10:44:26 -03:00
James Mills
d59d5ad8c2
Improves Test Coverage by covering error cases ( #95 )
...
* Add Unit Test for testing a corrupted config
* Add Unit Test for testing errors from .Stats()
* Refactor Datafile into an interface and add Unit Tests for testing Merge() errors
* Refactor indexer into an interface and add Unit Tests for .Close() errors
* Add Unit Tests for .Delete() errors
* Add Unit Tests for testing Put/Get errors
* Add Unit Test for testing Open errors (bad path for example)
* Refactor out bitcask.writeConfig
* Add more tests for config errors
* Add unit test for options that might error
* Add more test cases for close errors
* Add test case for rotating datafiles
* Fix a possible data race in .Stats()
* Add test case for checksum errors
* Add test case for Sync errors with Put and WithSync enabled
* Refactor and use testify.mock for mocks and generate mocks for all interfaces
* Refactor TestCloseErrors
* Refactored TestDeleteErrors
* Refactored TestGetErrors
* Refactored TestPutErrors
* Refactored TestMergeErrors and fixed a bug with .Fold()
* Add test case for Scan() errors
* Apparently only Scan() can return nil Node()s?
2019-09-09 07:18:38 +10:00
James Mills
abbbeb8e1d
Replace keydir with ART trie ( #75 )
...
* Replace keydir with ART trie
* Address some review feedback
* Address review feedback (consts)
2019-09-02 08:38:56 +10:00
James Mills
b3d6f734b6
Use an Adaptive Radix Tree ( #71 )
2019-08-30 08:13:24 +10:00
Awn
af43cfa8f1
Remove merge function ( #60 )
...
* tidy: clean up some leftovers
Fixes #56
Fixes #57
Fixes #58
* api: remove standalone merge function
Fixes #55
2019-08-08 19:51:45 +10:00
Ignacio Hagopian
fd179b4a86
custom high-performance encoder implementation ( #52 )
2019-08-08 09:21:46 +10:00
Ignacio Hagopian
f2b5515e03
update trie dependency to take advantage of improvements ( #45 )
2019-08-06 08:05:41 +10:00
Ignacio Hagopian
a407905ae2
Improve Get/Put performance with optional mempooling ( #36 )
...
* avoid unnecessary use of encoder/decoder to decrease memory allocations
* add an optional configurable mempool to avoid extra allocs
* add doc.go with examples
2019-08-05 07:23:07 +10:00
Awn
5ee0f8e0df
update dependencies ( #22 )
2019-07-25 08:02:00 +10:00
James Mills
b6c9867e7b
Added missing dependency on github.com/golang/protobuf/proto Fixes #6
2019-04-01 17:29:23 +10:00
James Mills
53dc013215
Optimized and increased read performance by ~2-3x by memory mapping the read-only datafiles
2019-03-23 13:35:55 +10:00
James Mills
c3b1a02371
Updated deps
2019-03-22 21:53:09 +10:00
James Mills
ebefd0abf4
Updated deps
2019-03-18 19:47:08 +10:00
James Mills
d2f44d1513
Fix a race condition + Use my fork of trie
2019-03-16 11:22:55 +10:00
James Mills
3f1d6635c4
Add prefix scan for keys using a Trie
2019-03-15 23:48:50 +10:00
James Mills
238ff6ab59
Add a simple Redis compatible server daemon (bitcaskd)
2019-03-13 21:19:46 +10:00
James Mills
f4b7918e93
Add flock on database Open()/Close() to prevent multiple concurrent processes write access. Fixes #2
2019-03-13 20:21:15 +10:00
James Mills
5e9c963904
Fixed some refs to copied code from my other projects (msgbus)
2019-03-13 06:39:21 +10:00
James Mills
a42cd20ddf
Initial Commit
2019-03-12 23:56:57 +10:00