7652a598d8
We will be needing an infrequent chore to check which nodes are in the reverify queue and synchronize that set with the 'contained' field in the nodes db, since it is easily possible for them to get out of sync. (We can't require that the reverification queue table be in the same database as the nodes table, so maintaining consistency with SQL transactions is out. Plus, even if they were in the same database, using such SQL transactions to maintain consistency would be slow and unwieldy.) This commit adds a method to the class representing the reverify queue in the database, allowing us to get the list of every node that has at least one record in the reverification queue. Refs: https://github.com/storj/storj/issues/5431 Change-Id: Idce2633b3d63f2645170365e5cdeb2ea749fa9cb |
||
---|---|---|
.. | ||
audit_test.go | ||
chore.go | ||
collector_test.go | ||
collector.go | ||
common_test.go | ||
containment_test.go | ||
containment.go | ||
cryptosource.go | ||
disqualification_test.go | ||
getshare_test.go | ||
integration_test.go | ||
observer.go | ||
pieces_test.go | ||
pieces.go | ||
queue.go | ||
reporter_test.go | ||
reporter.go | ||
reservoir_test.go | ||
reservoir.go | ||
reverifier_test.go | ||
reverifier.go | ||
reverify_test.go | ||
reverifyworker.go | ||
verifier_test.go | ||
verifier_unit_test.go | ||
verifier.go | ||
worker.go |