storj/satellite/metainfo
Bill Thorp 549e799bbe satellite: wrap notfound on failed deletes as DRPC errors
We're seeing BeginDeleteObject in metaclient returning object not found:
metabase: no rows deleted in the Gateway-MT mint tests.  There's a
client check for rpcStatus.NotFound, but the metabase endpoint isn't
wrapping the db error as a DRPC error.

Here's the chain:

  gateway.AbortMultipartUpload()
  project.AbortUpload()
  metainfoClient.BeginDeleteObject() <- understands DRPC errors
  endpoint.DeletePendingObject() <- where this code is
  db.DeletePendingObject() <- returns error

Change-Id: I93991de76487426df0a807b0d1e69fc975196a1a
2021-08-16 09:02:35 +00:00
..
expireddeletion testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
piecedeletion testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/accounting/tally: use objects iterator instead metaloop 2021-07-20 15:52:18 +00:00
attribution.go satellite/metainfo: collect uplink versions with monkit 2021-02-10 17:47:13 +01:00
batch.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go satellite/metabase: remove metaloop package 2021-07-22 13:00:45 +00:00
db_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
db.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
endpoint_test.go satellite/{metabase,metainfo}: require StreamID for UpdateObjectMetadata 2021-07-08 17:50:37 +03:00
metainfo_test.go satellite: wrap notfound on failed deletes as DRPC errors 2021-08-16 09:02:35 +00:00
metainfo.go satellite: wrap notfound on failed deletes as DRPC errors 2021-08-16 09:02:35 +00:00
service_test.go all: remove code related to PointerDB 2021-04-21 12:35:31 +00:00
service.go satellite/metainfo: remove MetabaseDB interface 2021-05-13 13:22:14 +00:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation.go satellite/metainfo: allow per-project rate limit of zero 2021-08-11 11:45:58 +00:00
version_collector.go satellite/metainfo: collect uplink versions with monkit 2021-02-10 17:47:13 +01:00