storj/satellite/metainfo
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
..
expireddeletion private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
piecedeletion satellite/metainfo: adjust piecedeletion timeouts 2021-10-28 13:37:01 +03:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/metainfo: store empty useragent in bucket attribution instead of throwing error 2021-12-07 18:06:27 +00:00
attribution.go satellite/metainfo: remove Gateway-ST library name from UserAgent string 2021-12-13 18:07:55 +00:00
batch.go satellite/metainfo: endpoint cleanup 2021-08-26 09:52:38 +00:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
endpoint_test.go satellite/metainfo: speedup deletion tests 2021-10-21 15:54:27 +00:00
metainfo_test.go satellite/metainfo: stop using in tests unused method 2021-12-22 15:05:53 +01:00
metainfo.go satellite/metainfo: add segment limit validation, caching 2022-01-10 14:33:26 +02:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite/metainfo: make subsequent auth validations not perform rate-limiting 2021-09-10 12:07:06 +00:00
validation.go satellite/metainfo: separate burst limit from rate limit config 2021-09-28 22:47:41 +00:00
version_collector.go satellite/metainfo: collect uplink versions with monkit 2021-02-10 17:47:13 +01:00