storj/storage
Ivan Fraixedes 3c8f1370d2
[v3 2137] - Add more info to find out repair failures (#2623)
* pkg/datarepair/repairer: Track always time for repair
  Make a minor change in the worker function of the repairer, that when
  successful, always track the metric time for repair independently if the
  time since checker queue metric can be tracked.

* storage/postgreskv: Wrap error in Get func
  Wrap the returned error of the Get function as it is done when the
  query doesn't return any row.

* satellite/metainfo: Move debug msg to the right place
  NewStore function was writing a debug log message when the DB was
  connected, however it was always writing it out despite if an error
  happened when getting the connection.

* pkg/datarepair/repairer: Wrap error before logging it
  Wrap the error returned by process which is executed by the Run method
  of the repairer service to add context to the error log message.

* pkg/datarepair/repairer: Make errors more specific in worker
  Make the error messages of the "worker" method of the Service more
  specific and the logged message for such errors.

* pkg/storage/repair: Improve error reporting Repair
  In order of improving the error reporting by the
  pkg/storage/repair.Repair method, several errors of this method and
  functions/methods which this one relies one have been updated to be
  wrapper into their corresponding classes.

* pkg/storage/segments: Track path param of Repair method
  Track in monkit the path parameter passed to the Repair method.

* satellite/satellitedb: Wrap Error returned by Delete
  Wrap the error returned by repairQueue.Delete method to enhance the
  error with a class and stack and the
  pkg/storage/segments.Repairer.Repair method get a more contextualized
  error from it.
2019-07-23 16:28:06 +02:00
..
boltdb Creates Routing Table Antechamber (#2318) 2019-07-01 17:20:19 -04:00
filestore Network Wipe (Pre Beta) (#2566) 2019-07-16 18:31:29 +02:00
postgreskv [v3 2137] - Add more info to find out repair failures (#2623) 2019-07-23 16:28:06 +02:00
redis storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
storelogger Use zap.Stringer instead of zap.String (#2223) 2019-06-18 01:37:43 +02:00
teststore storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
testsuite storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
blob.go storage/filestore: add monkit task to missing places (#2124) 2019-06-05 15:06:06 +02:00
common.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
iterator.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
listkeys.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
listv2.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00
util.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00