storj/storagenode/orders
Clement Sam db7c6d38e5 storagenode/orders: archive unsent order for untrusted satellite
The order service still tries to settle orders at all instances even
when the satellite is marked as untrusted by the trust service, which
will always fail because the trust cache no longer has record of the
URL of the satellite, and it will keep retrying.

This leaves a lot of "satellite is untrusted" errors in the logs.
There has been several complaints on the forum because this was
happening a lot for the stefanlite and I expect it will be the
same issue for the decommisioned satellites US2 and EUN-1 once
the forget-satellite command is run to clean up the satellite.

This change allows the order service to archive unsent orders available
for any untrusted satellite, and will not attempt to settle the order.

https://github.com/storj/storj/issues/6262

Change-Id: If0f7f1783587cd18fab8917d45948f22df5b1dcf
2023-10-12 13:48:07 +00:00
..
ordersfile Ordersfiles common unittests (#5516) 2023-06-01 12:27:14 +00:00
db_test.go storagenodedb/orders: select unsent satellite with expiration 2020-10-21 15:02:23 +00:00
doc.go storagenode: add doc.go files for sno packages 2021-09-29 08:24:56 +00:00
service_test.go storagenode/orders: archive unsent order for untrusted satellite 2023-10-12 13:48:07 +00:00
service.go storagenode/orders: archive unsent order for untrusted satellite 2023-10-12 13:48:07 +00:00
store_test.go storagenodedb/orders: select unsent satellite with expiration 2020-10-21 15:02:23 +00:00
store.go ci: fix lint errors 2021-05-17 13:37:31 +00:00