storj/satellite
Ivan Fraixedes 071d1c4313
upload: Add more info to returned error response & to logs (#3218)
* uplink/storage/segments: return error no optimal threshold
  Return an error if the store get less uploaded pieces than the indicated
  by the optimal threshold.

* satellite/metainfo: Fix gRPC status error & add reason
  This commit fix the CommitSegment endpoint method to return an
  "Invalid Argument" status code when uplink submits invalid data which is
  detected when filtering invalid pieces by filterInvalidPieces endpoint
  method.

  Because filterInvalidPieces is also used by CommitSegmentOld, such
  method part has been changed accordingly.

  * An initial check in CommitSegment to detect earlier if uplink sends an
    invalid number of upload pieces.
  * Add more information to some log messages.
  * Return more information to uplink when it sends a number of invalid
    pieces which make impossible to finish the operation successfully.

* satellite/metainfo: Swap some "sugar" loggers to normal ones
  Swap "sugar" loggers to normal ones because they impact the performance
  in production systems and they should only be used under specific
  circumstances which were none of the ones changed.
2019-10-17 20:01:40 +02:00
..
accounting satellite/accounting: add redis support to live accounting (#3213) 2019-10-16 12:50:29 -04:00
attribution satellite: remove remote/inline file from BucketTally (#3041) 2019-09-13 16:51:41 +03:00
audit satellite/audit: improve logging (#3285) 2019-10-16 13:48:05 +02:00
console satellite/console: add REST registration API endpoint (#3303) 2019-10-17 19:34:27 +03:00
contact contact: small typo 2019-10-14 13:21:05 -06:00
dbcleanup all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
gc all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
gracefulexit satellite/gracefulexit: use zap.Stringer instead of zap.String (#3299) 2019-10-17 10:29:35 -04:00
inspector all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
mailservice all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
marketingweb all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
metainfo upload: Add more info to returned error response & to logs (#3218) 2019-10-17 20:01:40 +02:00
metrics satellite/metrics: create a metrics chore (#3263) 2019-10-16 14:08:33 -04:00
nodestats all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
orders satellite/gracefulexit: Implement the 'process' endpoint on the satellite (#3223) 2019-10-11 17:18:05 -04:00
overlay satellite/satellitedb: add exit_status column to nodes table (#3301) 2019-10-17 11:01:39 -04:00
payments satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00
repair satellite/repair: improve logging (#3287) 2019-10-16 17:28:56 +02:00
rewards all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
satellitedb satellite/satellitedb: add exit_status column to nodes table (#3301) 2019-10-17 11:01:39 -04:00
vouchers all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
api.go satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00
peer.go satellite/console: payments api (#3297) 2019-10-17 17:42:18 +03:00