storj/satellite/metabase
Michał Niewrzał 0344790c20 satellite/metabase: delete zombie object that has no new segments for specific period of time
Added options flag to define after which object won't be marked as inactive. All segments CreatedAt
time needs to be bellow this flag to treat object as inactive.

Change-Id: Ib5cffc776c6ee1b62b51eb8595438f968b42528c
2021-08-23 08:25:38 +00:00
..
metabasetest segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
segmentloop satellite/metabase/segmentloop: fix rate.NewLimiter call 2021-08-19 17:23:13 +00:00
alias_test.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
alias.go satellite/metabase: drop alias migration code 2021-05-07 12:13:28 +03:00
aliascache_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
aliascache.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03: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 satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
bench_test.go satellite/metabase: return metadata from IterateObjectsAllVersionsWithStatus on demand 2021-08-06 16:20:39 +00:00
commit_object_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
commit_object.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
commit_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
commit.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
common_test.go segment/{metabase,repair}: add dedicated methods on metabase.Pieces 2021-08-03 15:12:03 +00:00
common.go satellite/metabase: sync batchSizeLimit and ListLimit constants 2021-08-20 11:01:46 +00:00
consts_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03: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 segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
delete_bucket_test.go satellite/metabase: don't delete pieces until query results are received 2021-08-08 03:43:17 +00:00
delete_bucket.go satellite/metabase: don't delete pieces until query results are received 2021-08-08 03:43:17 +00:00
delete_objects_test.go satellite/metabase: delete zombie object that has no new segments for specific period of time 2021-08-23 08:25:38 +00:00
delete_objects.go satellite/metabase: delete zombie object that has no new segments for specific period of time 2021-08-23 08:25:38 +00:00
delete_part_test.go satellite/metabase: add DeletePart method 2021-05-11 22:45:43 +02:00
delete_part.go satellite/metabase: add monitoring for objects and segments 2021-06-04 20:01:10 +03:00
delete_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
delete.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
encoding.go satellite/metabase: add intLimitRange 2021-07-19 07:51:16 +00:00
get_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
get.go satellite/metabase: return metadata from IterateObjectsAllVersionsWithStatus on demand 2021-08-06 16:20:39 +00:00
iterator_test.go satellite/metabase: return metadata from IterateObjectsAllVersionsWithStatus on demand 2021-08-06 16:20:39 +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: return metadata from IterateObjectsAllVersionsWithStatus on demand 2021-08-06 16:20:39 +00:00
list_segments_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
list_segments.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
list.go satellite/metabase: return metadata from IterateObjectsAllVersionsWithStatus on demand 2021-08-06 16:20:39 +00:00
loop_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
loop.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
metadata_test.go satellite/{metabase,metainfo}: require StreamID for UpdateObjectMetadata 2021-07-08 17:50:37 +03:00
metadata.go satellite/{metabase,metainfo}: require StreamID for UpdateObjectMetadata 2021-07-08 17:50:37 +03:00
raw.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
stats_test.go satellite/metabase: add method to get table statistics 2021-06-16 18:34:55 +03:00
stats.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
streamstat_test.go satellite/metabase/metabasetest: move test utils to a separate package 2021-04-26 13:12:58 +03:00
streamstat.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
update_test.go segment/{metabase,repair}: change segment created_at column to not accept nulls 2021-08-06 08:16:28 +00:00
update.go satellite/metabase: use db methods that pass context correctly 2021-07-29 09:32:31 +00:00
util.go satellite/metabase: add intLimitRange 2021-07-19 07:51:16 +00:00