89bdb20a62
In production we are seeing ~115 storage nodes (out of ~6,500) are not using the new SettlementWithWindow endpoint (but they are upgraded to > v1.12). We analyzed data being reported by monkit for the nodes who were above version 1.11 but were not successfully submitting orders to the new endpoint. The nodes fell into a few categories: 1. Always fail to list orders from the db; never get to try sending orders from the filestore 2. Successfully list/send orders from the db; never get to calling satellite endpoint for submitting filestore orders 3. Successfully list/send orders from the db; successfully list filestore orders, but satellite endpoint fails (with "unauthenticated" drpc error) The code change here add the following to address these issues: - modify the query for ordersDB.listUnsentBySatellite so that we no longer select expired orders from the unsent_orders table - always process any orders that are in the ordersDB and also any orders stored in the filestore - add monkit monitoring to filestore.ListUnsentBySatellite so that we can see the failures/successes Change-Id: I0b473e5d75252e7ab5fa6b5c204ed260ab5094ec |
||
---|---|---|
.. | ||
bandwidth | ||
collector | ||
console | ||
contact | ||
gracefulexit | ||
inspector | ||
monitor | ||
nodestats | ||
notifications | ||
orders | ||
payout | ||
pieces | ||
piecestore | ||
preflight | ||
pricing | ||
reputation | ||
retain | ||
satellites | ||
secret | ||
storagenodedb | ||
storageusage | ||
trust | ||
version | ||
operator.go | ||
peer.go |