storj/storagenode/storagenodedb
Cameron 3d9441999a
storagenode/orders: add archive cleanup to orders service (#2821)
This PR introduces functionality for routine deletion of archived orders.

The user may specify an interval at which to run archive cleanup and a TTL for archived items. During each cleanup, all items that have reached the TTL are deleted

This archive cleanup job is combined with the order sender into a new combined orders service
2019-08-22 10:33:14 -04:00
..
storagenodedbtest Re-enable SN bandwidth rollups. Fix SN bandwidth rollup unique constraint issue. Re-organize service code (#2617) 2019-07-29 10:07:52 -04:00
testdata initialize used space table with sum over pieceinfo (#2818) 2019-08-20 08:13:18 -04:00
bandwidthdb.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
consoledb.go all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
database.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
migrations_test.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
orders.go storagenode/orders: add archive cleanup to orders service (#2821) 2019-08-22 10:33:14 -04:00
pieceexpiration.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
pieceinfo.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
piecespaceused.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
reputation.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
storageusage.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
usedserials.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
versions.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00
vouchers.go storagenode/storagenodedb: refactor SQLite3 database connection initialization. (#2732) 2019-08-21 10:32:25 -04:00