storj/storage
Ivan Fraixedes ce26616647
satellite/accounting/live: Use Redis client directly
We have to adapt the live accounting to allow the packages that use it
to differentiate about errors for being able to ignore them and make our
satellite resilient to Redis downtime.

For differentiating errors we should make changes in the live accounting
but also in the storage/redis.Client, however, we may need to do some
dirty workarounds or break other parts of the implementation that
depends on it.

On the other hand we want to get rid of the storage/redis.Client because
it has more functionality that the one that we are using and some
process has been started to remove it.

Hence, we have refactored the live accounting to directly use the Redis
client library for later on (in a future commit) adapt the satellite for
being resilient to Redis downtime.

Last but not least, a test for expired bandwidth keys have been added
and with it a bug was spotted and fix it.

Change-Id: Ibd191522cd20f6a9a15e5ccb7beb83a678e530ff
2021-01-12 15:33:29 +01:00
..
boltdb all: add missing dots 2020-08-11 17:50:01 +03:00
cockroachkv Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00
filestore storage/filestore: defer closing 2020-10-26 21:09:58 +02:00
postgreskv Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00
redis satellite/accounting/live: Use Redis client directly 2021-01-12 15:33:29 +01:00
storelogger all: fix dots 2020-07-16 14:58:28 +00:00
teststore all: fix dots 2020-07-16 14:58:28 +00:00
testsuite all: fix defers in loop 2020-11-02 15:06:38 +02:00
blob.go storagenode/{monitor,pieces}, storage/filestore: add loop to check storage directory writability 2020-08-31 21:20:49 +00:00
common.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
listkeys.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00
listv2.go satellite/metainfo: avoid temporary list 2020-04-15 08:01:42 +00:00
util.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00