storj/satellite/metabase/metabasetest
Egon Elbre f2eb6942c5 satellite/metabase: make the precommit constraint code nicer
This condenses the precommit constraint into a single function, which
allows to cleanup a bunch of logic elsewhere. Also, avoid delete in the
first place when we are not allowed to remove the uncommited object.

This also fixes submitting the metrics and now it submits the correct
metrics.

Change-Id: If91dfa3b19bce5b24ff2a19d7c34b57a200db1dd
2023-10-31 18:10:09 +00:00
..
common.go satellite/metabase: make the precommit constraint code nicer 2023-10-31 18:10:09 +00:00
create.go satellite/metabase: add tests ListObjects 2023-10-30 20:33:08 +00:00
defaults.go Revert "satellite/metabase: use storj.Nonce instead []byte" 2021-10-12 15:39:54 +02:00
invalid.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
run.go satellite/metabase: add unique unversioned constraint for tests 2023-10-17 12:08:50 +00:00
test.go satellite/metabase: don't use empty stream id for delete markers 2023-10-28 04:43:32 +00:00