storj/satellite/metainfo/metabase
Egon Elbre b2be1f1629 satellite/metainfo/metabase: fix delete expiration
The cursor was not being used in the batch deletion.

The stream ID was not being used while deleting, which could in rare
circumstaces delete a newly uploaded object.

Use the stream id in deletion, rather than passing that information from
one query to another.

Change-Id: I03271c6e72747e345dfb0bb70989f29e835efd8e
2021-04-19 11:19:29 +03:00
..
alias_test.go satellite/metainfo/metabase: add node alias table 2021-02-05 14:34:15 +02:00
alias.go satellite/metainfo/metabase: use alias pieces in segments table 2021-02-11 16:40:37 +02:00
aliascache_test.go satellite/metainfo/metabase: optimize ConvertAliasesToPieces 2021-03-10 08:39:23 +00:00
aliascache.go satellite/metainfo/metabase: optimize ConvertAliasesToPieces 2021-03-10 08:39:23 +00:00
aliaspiece_test.go satellite/metainfo/metabase: add AliasPiece 2021-02-11 14:23:51 +02:00
aliaspiece.go satellite/metainfo/metabase: add AliasPiece 2021-02-11 14:23:51 +02:00
bench_expired_test.go satellite/metainfo/metabase: select then delete expired objects 2021-03-22 17:39:13 +01:00
bench_test.go satellite/metainfo/metabase: add iteration with prefix benchmark 2021-03-08 09:43:38 +01:00
commit_object_test.go satellite/metainfo/metabase: read created_at from DB 2021-03-15 11:37:14 +00:00
commit_object.go satellite/metainfo/metabase: update segment plain offset, when needed 2021-03-30 16:20:21 +03:00
commit_test.go satellite/metainfo/metabase: update segment plain offset, when needed 2021-03-30 16:20:21 +03:00
commit.go satellite/metainfo/metabase: update segment plain offset, when needed 2021-03-30 16:20:21 +03:00
common_test.go satellite/metainfo/metabase: fix ParseSegmentKey to parse part numbers 2021-02-01 15:18:18 +02:00
common.go satellite/metainfo/metabase: use alias pieces in segments table 2021-02-11 16:40:37 +02:00
consts_test.go satellite/metainfo/metabase: disable PlainSize validation 2021-01-07 14:14:20 +00:00
db_migrate_test.go satellite/metainfo/metabase: use alias pieces in segments table 2021-02-11 16:40:37 +02:00
db_test.go satellite/metainfo/metabase: add benchmark 2021-01-25 14:59:24 +00:00
db.go satellite/metainfo: document migrated objects 2021-04-09 15:28:27 +00:00
delete_bucket_test.go satellite/metainfo/metabase: add support for encrypted ETag 2021-03-25 10:01:16 +02:00
delete_bucket.go satellite/metainfo/metabase: cast bucket_name to []byte 2021-03-02 13:22:49 +02:00
delete_expired_test.go satellite/metainfo/metabase: fix delete expiration 2021-04-19 11:19:29 +03:00
delete_expired.go satellite/metainfo/metabase: fix delete expiration 2021-04-19 11:19:29 +03:00
delete_test.go satellite/metainfo/metabase: fix delete expiration 2021-04-19 11:19:29 +03:00
delete.go satellite/metainfo: remove TODO 2021-03-30 13:55:54 +00:00
encoding.go satellite/metainfo/metabase: remove old TODO notes 2021-03-05 15:16:46 +02:00
get_test.go satellite/metainfo/metabase: update segment plain offset, when needed 2021-03-30 16:20:21 +03:00
get.go satellite/metainfo: document migrated objects 2021-04-09 15:28:27 +00:00
iterator_test.go satellite/metainfo/metabase: use key with prefix as the next cursor 2021-02-28 22:05:42 +02:00
iterator_util_test.go satellite/metainfo/metabase: fix iterator boundaries 2021-02-28 21:19:51 +02:00
iterator.go satellite/metainfo/metabase: cast bucket_name to []byte 2021-03-02 13:22:49 +02:00
list_segments_test.go satellite/metainfo/metabase: add stream range for listing segments 2021-04-01 15:27:10 +00:00
list_segments.go satellite/metainfo: document migrated objects 2021-04-09 15:28:27 +00:00
list.go metainfo/metabase: iterate through pending objects by key 2021-02-03 11:44:05 +01:00
loop_test.go metabase-createdat-migration: add migration tool 2021-04-08 14:20:09 +00:00
loop.go metabase-createdat-migration: add migration tool 2021-04-08 14:20:09 +00:00
raw.go satellite/metainfo: document migrated objects 2021-04-09 15:28:27 +00:00
streamstat_test.go satellite/metainfo{,/metabase}: add GetStreamPieceCountByNodeID 2021-03-08 16:43:17 +02:00
streamstat.go satellite/metainfo{,/metabase}: add GetStreamPieceCountByNodeID 2021-03-08 16:43:17 +02:00
test_test.go satellite/metainfo/metabase: fix delete expiration 2021-04-19 11:19:29 +03:00
update_test.go satellite/repair/repairer: fix segmentAge metric 2021-03-29 12:29:47 +00:00
update.go satellite/metainfo/metabase: update repair_at with UpdateSegmentPieces 2021-03-26 11:47:25 +00:00
util.go satellite/metainfo/metabase: commit object without proofs 2020-11-09 15:18:07 +00:00