storj/satellite
Yingrong Zhao 1f8f7ebf06 satellite/{audit, reputation}: fix potential nodes reputation status
inconsistency

The original design had a flaw which can potentially cause discrepancy
for nodes reputation status between reputations table and nodes table.
In the event of a failure(network issue, db failure, satellite failure, etc.)
happens between update to reputations table and update to nodes table, data
can be out of sync.
This PR tries to fix above issue by passing through node's reputation from
the beginning of an audit/repair(this data is from nodes table) to the next
update in reputation service. If the updated reputation status from the service
is different from the existing node status, the service will try to update nodes
table. In the case of a failure, the service will be able to try update nodes
table again since it can see the discrepancy of the data. This will allow
both tables to be in-sync eventually.

Change-Id: Ic22130b4503a594b7177237b18f7e68305c2f122
2022-01-06 21:05:59 +00:00
..
accounting satellite/{accounting,orders,satellitedb}: group bucket bandwidth rollups by time window 2022-01-05 20:24:48 +00:00
admin satellite/admin: add project limit on segment count 2021-12-17 12:40:12 +00:00
analytics satellite/analytics: track origin header and referer on signup 2022-01-03 17:47:48 +00:00
attribution satellite/{satellitedb,attribution,console}: value attribution changes that add userAgent field to buckets table and all tables that have partner_id 2021-10-18 13:56:19 +00:00
audit satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
buckets satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
compensation satellite/compensation: add wallet features to invoice csv 2021-02-08 22:13:48 +02:00
console web/satellite: remove old object browser 2022-01-05 16:29:19 +02:00
contact private/lrucache: import from common 2021-08-16 10:04:32 +00:00
gc private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
geoip satellite/geoip: update node check-in to associate a country code 2021-11-10 16:44:41 +01:00
gracefulexit satellite/gracefulexit: stop using gracefulexit_transfer_queue 2021-09-14 11:52:34 +00:00
inspector private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
internalpb satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
mailservice satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
metabase satellite/metainfo/zombiedeletion: enable chore by default 2021-12-21 13:26:18 +01:00
metainfo satellite/metainfo: stop using in tests unused method 2021-12-22 15:05:53 +01:00
metrics satellite/metrics: speedup test 2021-09-28 11:39:37 +02:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection/uploadselection satellite/nodeselection: add geofencing constraints to the node selection criteria 2021-11-08 17:04:31 +00:00
nodestats satellite/reputation: return default reputation stats when node is not 2021-08-04 19:34:54 +00:00
orders satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
overlay satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
payments satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
repair satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
reputation satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
rewards satellite/rewards: adding SeaweedFS to partners list (#4230) 2021-10-19 21:30:31 +02:00
satellitedb satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
api.go satellite/{console,satellitedb}: add project segment limit to user 2021-12-16 08:46:01 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
gc.go satellite/metabase/segmentloop: don't shutdown satellite on loop error 2021-07-30 06:49:10 +00:00
peer.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
repairer.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00