storj/satellite/metabase/metabasetest
Egon Elbre d91ee440ba satellite/metabase: use constant for pending version
Currently it wasn't quite clear what was a stub version and an actual
version. Use a PendingVersion constant to make this distinction clear.

Also use PendingVersion = NextVersion = 0, that way it's clearer that
the version hasn't been yet determined. DefaultVersion = 1 might imply
that the object will get that version once commited, however that will
entirely depend on whether use-pending-objects is used or versioning is
enabled or not.

Change-Id: I21398141f97035c48c778f23b542266b834c44f1
2023-09-12 18:01:12 +00:00
..
common.go satellite/metainfo: remove ServerSideCopyDuplicateMetadata 2023-08-08 12:15:10 +00:00
create.go satellite/metabase: use constant for pending version 2023-09-12 18:01:12 +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: use better label for ignoring FTS queries 2023-07-26 20:01:38 +00:00
test.go satellite/zombiedeletion: remove inactive uploads from pending_objects 2023-09-07 18:47:29 +00:00