storj/satellite/metabase/metabasetest
Michal Niewrzal 7b2006a883 satellite/metabase: adjust BeginSegment to use pending_objects table
Change is adjusting BeginSegment to check pending object existence in
`pending_objects` or `objects` table.

Satellite stream id is used to determine if we need to use
`pending_objects` or `objects` table.

General goal is to support both tables until `objects` table will be
free from pending objects. Whenever it will be needed code will be
supporting both tables at once.

Part of https://github.com/storj/storj/issues/6046

Change-Id: I08aaa605c23d82695fde352fdbd0a7fd11f46bb5
2023-08-02 15:30:23 +00:00
..
common.go satellite/metabase: adjust BeginObjectNextVersion to use pending_objects 2023-08-02 14:42:26 +00:00
create.go satellite/metabase: adjust BeginSegment to use pending_objects table 2023-08-02 15:30:23 +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/metainfo: remove unused method 2023-07-18 08:45:29 +00:00