storj/satellite/satellitedb
littleskunk bcc23f6869
Satellite/orders: remove allocated bandwith from storagenode_bandwidth_rollups
When an uplink requests an upload or download from the satellite we are trackig the
allocated bandwidth twice. The value in bucket_bandwidth_rollups is used
for project limits but the value in storagenode_bandwidth_rollups is not
used at all. We can increase the performance by removing it. Uplinks
will get a faster response from the satellite.

Change-Id: Icccd41f94107ef34668f30f99bf5f728c384b07e
2020-01-12 16:20:47 +01:00
..
dbx Satellite/orders: remove allocated bandwith from storagenode_bandwidth_rollups 2020-01-12 16:20:47 +01:00
pbold common: separate repository 2019-12-27 14:11:15 +02:00
satellitedbtest satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00
testdata Satellite/orders: remove allocated bandwith from storagenode_bandwidth_rollups 2020-01-12 16:20:47 +01:00
apikeys.go satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00
attribution_test.go common: separate repository 2019-12-27 14:11:15 +02:00
attribution.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
buckets.go common: separate repository 2019-12-27 14:11:15 +02:00
coinpaymentstxs.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
consoledb_test.go satellite/console: use transaction helpers in consoledb 2020-01-07 17:59:10 +00:00
consoledb.go satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00
containment.go satellite/satellitedb: use transaction helpers in containment 2020-01-06 23:07:38 +00:00
coupons.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
customers.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
database.go satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00
downtime.go satellite/{downtime,contact}: Add CheckNodeAvailability for use within the downtime tracking chores. 2020-01-02 18:24:11 +00:00
gracefulexit.go common: separate repository 2019-12-27 14:11:15 +02:00
invoiceprojectrecords.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
irreparabledb.go satellite/satellitedb: use transaction helpers in irreparabledb 2020-01-07 17:40:09 +00:00
migrate_cockroach_test.go satellite/satellitedb: improve Cockroach migrate test 2019-12-21 10:58:43 +00:00
migrate_postgres_test.go satellite: add an expiring lru cache around api keys 2020-01-09 22:13:41 -07:00
migrate.go Satellite/orders: remove allocated bandwith from storagenode_bandwidth_rollups 2020-01-12 16:20:47 +01:00
offers.go satellite/satellitedb: don't use crdb.ExecuteTx with postgres 2020-01-06 23:51:35 +00:00
orders.go Satellite/orders: remove allocated bandwith from storagenode_bandwidth_rollups 2020-01-12 16:20:47 +01:00
overlaycache.go satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
peeridentities.go satellite/satellitedb: use transaction helpers in peeridentities 2020-01-06 20:42:15 +00:00
projectaccounting.go common: separate repository 2019-12-27 14:11:15 +02:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
projects_test.go satellite,storage: clean global ctx usage in tests 2020-01-09 10:37:21 +00:00
projects.go storagenode/notifications: db created (#3707) 2019-12-16 19:59:01 +02:00
regtokens.go storagenode/notifications: db created (#3707) 2019-12-16 19:59:01 +02:00
repairqueue.go satellite/satellitedb: don't use crdb.ExecuteTx with postgres 2020-01-06 23:51:35 +00:00
resetpasstokens.go storagenode/notifications: db created (#3707) 2019-12-16 19:59:01 +02:00
storagenodeaccounting.go common: separate repository 2019-12-27 14:11:15 +02:00
stripecoinpaymentsdb.go satellite/satellitedb: unexport satellitedb.DB 2019-12-16 19:09:30 +00:00
usercredits.go satellite/satellitedb: use transaction helpers in usercredits 2020-01-06 20:40:45 +00:00
users_test.go satellite,storage: clean global ctx usage in tests 2020-01-09 10:37:21 +00:00
users.go storagenode/notifications: db created (#3707) 2019-12-16 19:59:01 +02:00
utils_test.go common: separate repository 2019-12-27 14:11:15 +02:00
utils.go common: separate repository 2019-12-27 14:11:15 +02:00