storj/satellite/satellitedb
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
..
dbx value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
pbold Change protobuf expirations to use time.Time (#2509) 2019-07-09 17:54:00 -04:00
satellitedbtest Optimize KnownUnreliableOrOffline SQL query (#1968) 2019-05-19 17:10:46 +02:00
testdata satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
apikeys.go v3-2156: Add partner_id on user creation (#2571) 2019-07-17 16:53:14 -04:00
attribution_test.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
attribution.go Add attribution report to the satellite CLI (#2288) 2019-06-25 16:58:38 -04:00
buckets.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
bucketusage.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
certdb.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
consoledb_test.go Console postgres tests (#1188) 2019-01-31 15:01:13 +02:00
consoledb.go Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
containment.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
database.go Add test to ensure correct order of repair queue selection (#2551) 2019-07-22 10:10:42 -04:00
irreparabledb.go update irreparableDB.GetLimited query to use where instead of offset (#2585) 2019-07-18 09:21:21 -07:00
locked.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
lockedtx.go ConsoleDB merge and buckets table creation (#1066) 2019-01-16 15:23:28 -05:00
migrate_postgres_test.go Enable Scopelint Linter (#2049) 2019-05-29 09:30:16 -04:00
migrate.go satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
offers.go satellite/satellitedb: fix nil value from offers table (#2587) 2019-07-18 13:26:04 -04:00
orders.go fix ordersDB methods to take correct args (#2314) 2019-06-25 08:58:42 -07:00
overlaycache.go discovery: parallelize refresh (#2535) 2019-07-12 10:35:48 -04:00
projectaccounting.go fix ordersDB methods to take correct args (#2314) 2019-06-25 08:58:42 -07:00
projectinvoicestamps.go Console add payments to service (#2100) 2019-06-06 19:07:14 +03:00
projectmembers_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
projectmembers.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
projectpaymentinfos.go Project Payment methods (#2037) 2019-07-10 23:29:26 +03:00
projects_test.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
projects.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
regtokens.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
repairqueue_test.go Add test to ensure correct order of repair queue selection (#2551) 2019-07-22 10:10:42 -04:00
repairqueue.go [v3 2137] - Add more info to find out repair failures (#2623) 2019-07-23 16:28:06 +02:00
resetpasstokens.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
storagenodeaccounting.go Add daily node space usage to satellite nodestats endpoint (#2361) 2019-07-02 13:42:09 +03:00
usagerollups.go Fix the way project_id is stored in bucket_storage_tallies and bucket_bandwidth_rollups (#2283) 2019-06-21 11:38:37 -04:00
usercredits_test.go satellite/console: add redeem reward method (#2484) 2019-07-15 19:30:00 -04:00
usercredits.go satellite/console: add referral link logic (#2576) 2019-07-19 14:22:10 -04:00
userpayments.go Console add payments to service (#2100) 2019-06-06 19:07:14 +03:00
users_test.go Use mail.test as domain in emails (#2224) 2019-06-18 02:28:40 +02:00
users.go v3-2156: Add partner_id on user creation (#2571) 2019-07-17 16:53:14 -04:00
utils_test.go internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
utils.go fix ordersDB methods to take correct args (#2314) 2019-06-25 08:58:42 -07:00