storj/satellite/metainfo
Ivan Fraixedes 6dc948da46
satellite/metainfo: Create service for deleting pieces
Create a service for deleting pieces of storage nodes.

Currently the DeletePieces method returns after a success threshold,
completion or a timeout.

The end goal is to return when reaching the success threshold and
leaving the remaining goroutines running after DeletePieces method
returns and add a life cycle to the service that it waits for them when
it closes.

This is the first commit for ticket:
https://storjlabs.atlassian.net/browse/V3-3476

Change-Id: If740bbf57c741f880449980b8176b036dd956c7b
2020-01-15 15:24:20 +01:00
..
batch.go common: separate repository 2019-12-27 14:11:15 +02:00
config.go postgres2: use cockroachkv impl against postgres 2020-01-13 14:51:56 -06:00
db_test.go common: separate repository 2019-12-27 14:11:15 +02:00
db.go common: separate repository 2019-12-27 14:11:15 +02:00
delete_pieces_service_test.go satellite/metainfo: Create service for deleting pieces 2020-01-15 15:24:20 +01:00
delete_pieces_service.go satellite/metainfo: Create service for deleting pieces 2020-01-15 15:24:20 +01:00
endpoint_test.go satellite/metainfo: Add back-pressure mechanism DeleteObjectPieces 2020-01-09 08:22:11 +00:00
loop_test.go common: separate repository 2019-12-27 14:11:15 +02:00
loop.go satellite/metainfo: Fixed bug that discarded context cancellation errors 2020-01-03 22:48:12 -05:00
metainfo_old_test.go uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
metainfo_test.go uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
metainfo.go satellite/metainfo: Create service for deleting pieces 2020-01-15 15:24:20 +01:00
service_test.go private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
service.go uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
validation.go common: separate repository 2019-12-27 14:11:15 +02:00