storj/satellite
Ivan Fraixedes c3b58f1656 satellte/metainfo: Make BeginDeleteObject to delete pieces
For improving the deletion performance we are shifting the
responsibility to delete the pieces of the object from Uplink to the
Satellite.

BeginDeleteObject was the first call to return the stream ID which was
used for after retrieving the list of segments and then get addressed
order limits for deleting the pieces (of each segment) from the storage
nodes.

Now we want the Satellite deletes the pieces of all the object segments
from the storage nodes hence we don't need anymore to have several
network round trips between the Uplink and the Satellite because the
Satellite can delete all of them in the initial BegingDeleteObject
request.

satellite/metainfo.ListSegments has been changed to return 0 items if
the pointer of the last segment of an object is not found because we
need to preserve the backward compatibility with Uplinks that won't be
updated to the last release and they rely on listing the segments after
calling BeginDeleteObject for retrieving the addressed order limits
to contact the storage nodes to delete the pieces.

Change-Id: I5f99ecf27d62d65b0a062936b9b17581ef692af0
2020-01-02 15:53:59 +00:00
..
accounting common: separate repository 2019-12-27 14:11:15 +02:00
attribution common: separate repository 2019-12-27 14:11:15 +02:00
audit private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
console common: separate repository 2019-12-27 14:11:15 +02:00
contact common: separate repository 2019-12-27 14:11:15 +02:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtimetracking satellite/satellitedb: Add nodes_offline_times table for downtime tracking 2019-12-30 15:45:02 -05:00
gc common: separate repository 2019-12-27 14:11:15 +02:00
gracefulexit private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
inspector common: separate repository 2019-12-27 14:11:15 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo satellte/metainfo: Make BeginDeleteObject to delete pieces 2020-01-02 15:53:59 +00:00
metrics private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
nodestats common: separate repository 2019-12-27 14:11:15 +02:00
orders private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
overlay common: separate repository 2019-12-27 14:11:15 +02:00
payments common: separate repository 2019-12-27 14:11:15 +02:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb satellite/satellitedb/satellitedbtest: skip unconfigured db 2020-01-02 10:51:59 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go common: separate repository 2019-12-27 14:11:15 +02:00
core.go common: separate repository 2019-12-27 14:11:15 +02:00
peer.go satellite/satellitedb: Add nodes_offline_times table for downtime tracking 2019-12-30 15:45:02 -05:00
repairer.go common: separate repository 2019-12-27 14:11:15 +02:00