storj/satellite/metabase
Michal Niewrzal a5cbec7b3b satellite/metabase: drop bucket deletion code for copy with references
With this change we are removing code responsible to handle deleting
bucket and supporting server side copies created with references. In practice we are restoring delete queries that we had before server side copy implementation (with small exception, see bellow).

From deletion queries we are also removing parts with segment metadata
as result because we are not longer sending explicit delete requests to
storage nodes.

https://github.com/storj/storj/issues/5891

Change-Id: If866d9f3a1b01e9ebd9b49c4740a6425ba06dd43
2023-08-08 09:07:44 +00:00
..
metabasetest satellite/metabase: adjust BeginSegment to use pending_objects table 2023-08-02 15:30:23 +00:00
rangedloop satellite/repair/repairer: fix NumHealthyInExcludedCountries calculation 2023-07-10 12:01:19 +02:00
zombiedeletion satellite/metabase: remove AOST from deleteInactiveObjectsAndSegments 2023-06-28 13:24:14 +00:00
alias_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
alias.go satellite/metabase,cmd/tools/segment-verify: simplify interface 2022-10-06 13:42:00 +00:00
aliascache_test.go satellite/metabase: expose ConvertNodesToAliases and ConvertAliasesToNodes 2022-09-15 13:56:10 +00:00
aliascache.go satellite/metabase: reuse Pieces while looping segments 2023-07-12 09:29:34 +00:00
aliaspiece_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
aliaspiece.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
bench_expired_test.go all: fix nolint directives 2022-10-11 18:31:20 +00:00
bench_test.go all: fix nolint directives 2022-10-11 18:31:20 +00:00
commit_object_test.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
commit_object.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
commit_test.go satellite/metabase: adjust CommitObject to use pending_objects table 2023-08-03 10:21:22 +00:00
commit.go satellite/metabase: adjust CommitObject to use pending_objects table 2023-08-03 10:21:22 +00:00
common_test.go satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
common.go satellite/metabase: add pending_objects table 2023-07-26 20:00:58 +00:00
consts_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
copy_object_test.go satellite/metabase: server-side copy copies metadata 2023-07-06 14:40:59 +00:00
copy_object.go satellite/metabase: server-side copy copies metadata 2023-07-06 14:40:59 +00:00
db_internal_test.go satellite/metabase/segmentloop: limit max interval 2021-06-10 17:06:33 +00:00
db_test.go satellite/metabase: drop alias migration code 2021-05-07 12:13:28 +03:00
db.go satellite/metabase: add pending_objects table 2023-07-26 20:00:58 +00:00
delete_bucket_test.go satellite/metabase: drop bucket deletion code for copy with references 2023-08-08 09:07:44 +00:00
delete_bucket.go satellite/metabase: drop bucket deletion code for copy with references 2023-08-08 09:07:44 +00:00
delete_objects_test.go satellite/metabase: remove AOST from deleteInactiveObjectsAndSegments 2023-06-28 13:24:14 +00:00
delete_objects.go satellite/metabase: remove AOST from deleteInactiveObjectsAndSegments 2023-06-28 13:24:14 +00:00
delete_test.go satellite/metainfo: remove unused method 2023-07-18 08:45:29 +00:00
delete.go satellite/metainfo: remove unused method 2023-07-18 08:45:29 +00:00
encoding.go satellite/metabase: deletion query as explicit transaction 2022-03-31 11:40:36 +00:00
get_test.go satellite/metabase: server-side copy copies metadata 2023-07-06 14:40:59 +00:00
get.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
iterator_test.go satellite/metabase: make UploadID stable for different options 2022-11-10 17:35:36 +00:00
iterator_util_test.go satellite/metabase: fix listing prefixes with cursor set 2021-07-07 14:30:46 +00:00
iterator.go satellite/metabase: make UploadID stable for different options 2022-11-10 17:35:36 +00:00
list_objects_test.go satellite/metabase: ListObjects 2022-09-20 11:15:44 +00:00
list_objects.go satellite/metabase: convert bucket name to bytes for queries 2023-06-29 10:43:35 +00:00
list_segments_test.go satellite/metabase: server-side copy copies metadata 2023-07-06 14:40:59 +00:00
list_segments.go satellite/orders: filter nodes based on segment placement 2023-06-05 13:56:22 -04:00
list_verify_segments_test.go satellite/metabase: add logic for verifying segments in given buckets 2022-12-08 09:45:15 +00:00
list_verify_segments.go satellite/metabase: convert bucket name to bytes for queries 2023-06-29 10:43:35 +00:00
list.go satellite/metabase: drop IterateObjectsAllVersions 2022-05-26 14:12:20 +00:00
loop_test.go satellite/accounting/tally: save tallies in a batches 2023-06-22 17:02:26 +00:00
loop.go satellite/metabase: reuse Pieces while looping segments 2023-07-12 09:29:34 +00:00
metadata_test.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
metadata.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
migrate_test.go metabase: use predefined snapshot for unit tests avoid migration 2022-06-01 12:07:00 +00:00
move_object_test.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
move_object.go satellite/metabase: define a local ErrObjectNotFound 2023-04-19 12:03:01 +00:00
raw.go satellite/metabase: use better label for ignoring FTS queries 2023-07-26 20:01:38 +00:00
stats_test.go satellite/metabase: use table stats if are up to date 2023-03-13 14:54:13 +00:00
stats.go satellite/metabase: sort stats by creation time not number of entries 2023-03-30 12:31:45 +00:00
streamstat_test.go satellite/metabase: server-side copy copies metadata 2023-07-06 14:40:59 +00:00
streamstat.go satellite/metabase: fix GetStreamPieceCountByNodeID full table scan 2023-01-10 23:35:22 +00:00
update_test.go storage: move errors to better locations 2023-04-06 17:26:29 +03:00
update.go storage: move errors to better locations 2023-04-06 17:26:29 +03:00
util.go satellite/metabase: add intLimitRange 2021-07-19 07:51:16 +00:00