storj/satellite
Qweder93 8be655c487 satellite/metainfo: add segment limit validation, caching
We want to be able to limit the number of segments per project for users.
To limit this we need to check limit value associated with project
and value of used segments already in BeginMoveObject, BeginMoveSegment
and increment cache segments usage after each CommitSegment call.

Resolves https://github.com/storj/team-metainfo/issues/1

Change-Id: I6290e67c095a174b9d101c4521802d9bfe0453b8
2022-01-10 14:33:26 +02:00
..
accounting satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
admin satellite/admin: add project limit on segment count 2021-12-17 12:40:12 +00:00
analytics satellite/analytics: track origin header and referer on signup 2022-01-03 17:47:48 +00:00
attribution satellite/{satellitedb,attribution,console}: value attribution changes that add userAgent field to buckets table and all tables that have partner_id 2021-10-18 13:56:19 +00:00
audit satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
buckets satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
compensation satellite/compensation: add wallet features to invoice csv 2021-02-08 22:13:48 +02:00
console satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
contact private/lrucache: import from common 2021-08-16 10:04:32 +00:00
gc private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
geoip satellite/geoip: update node check-in to associate a country code 2021-11-10 16:44:41 +01:00
gracefulexit satellite/gracefulexit: stop using gracefulexit_transfer_queue 2021-09-14 11:52:34 +00:00
inspector private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
internalpb satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
mailservice satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
metabase satellite/metainfo/zombiedeletion: enable chore by default 2021-12-21 13:26:18 +01:00
metainfo satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
metrics satellite/metrics: speedup test 2021-09-28 11:39:37 +02:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection/uploadselection satellite/nodeselection: add geofencing constraints to the node selection criteria 2021-11-08 17:04:31 +00:00
nodestats satellite/reputation: return default reputation stats when node is not 2021-08-04 19:34:54 +00:00
orders satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
overlay satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
payments satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
repair satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
reputation satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
rewards satellite/rewards: adding SeaweedFS to partners list (#4230) 2021-10-19 21:30:31 +02:00
satellitedb satellite/{audit, reputation}: fix potential nodes reputation status 2022-01-06 21:05:59 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
api.go satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
gc.go satellite/metabase/segmentloop: don't shutdown satellite on loop error 2021-07-30 06:49:10 +00:00
peer.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00
repairer.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00