storj/satellite
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
..
accounting satellite/accounting/live: Use Redis client directly 2021-01-12 15:33:29 +01:00
admin satellite/admin: allow more than just "paid" invoice status during user deletion 2020-12-23 16:40:44 +01:00
attribution all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
audit all: minor cleanups 2020-12-16 10:47:46 +00:00
compensation all: add missing dots 2020-08-11 17:50:01 +03:00
console satellite/console/wasm: add more unit tests 2021-01-08 18:50:29 +00:00
contact satellite/{accounting, contact}: Remove periods and spaces from metrics. 2020-12-03 15:33:01 +00:00
gc all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
gracefulexit all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
inspector all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
internalpb satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
mailservice all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
marketingweb all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
metainfo satellite/metainfo/metabase: avoid magic constant 2021-01-11 10:22:21 +00:00
metrics satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection all: add missing dots 2020-08-11 17:50:01 +03:00
nodestats satellite,storagenode: Pass audit history over GetStats endpoint 2020-12-30 19:13:26 +00:00
orders satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00
overlay satellite/{overlay,satellitedb}: remove unused methods for old downtime tracking 2021-01-11 15:21:28 +00:00
payments satellite/payments/stripecoinpayments: fix tests failing in 2021 2021-01-04 10:47:31 +01:00
referrals all: minor cleanups 2020-12-16 10:47:46 +00:00
repair satellite/repair/checker: Use segment health on checker insert 2021-01-04 11:48:17 -05:00
revocation all: fix dots 2020-07-16 14:58:28 +00:00
rewards Adding Fastly (#3994) 2020-12-11 15:53:05 +02:00
satellitedb satellite/{overlay,satellitedb}: remove unused methods for old downtime tracking 2021-01-11 15:21:28 +00:00
snopayout all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
admin.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
api.go satellite: make external address calc more robust 2021-01-11 16:47:25 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00
gc.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
peer.go satellite/dbcleanup: remove expired serial chore 2020-12-18 09:36:28 -08:00
repairer.go satellite/orders: remove unused satelliteAddress field 2021-01-08 12:25:39 -05:00