storj/satellite/metainfo/piecedeletion
Egon Elbre edb8d656de satellite/metainfo: adjust piecedeletion timeouts
Currently slower storagenodes can slow down deletion queue.
To make piece deletion faster reduce the maximum time spent in
either dialing or piece deletion requests.

With this change:
* dial timeout is 3s
* request timeout is 15s
* fail threshold is set to 10min

Similarly, we'll mark storage node as failed when the timeout occurs.
The timeout usually indicates that the storagenode is overwhelmed.
Garbage collection will ensure that the pieces get deleted eventually.

Change-Id: Iec5de699f5917905f5807140e2c3252088c6399b
2021-10-28 13:37:01 +03:00
..
combiner_bench_test.go ci: optimize benchmarks 2021-10-08 19:42:40 +03:00
combiner_test.go metainfo/piecedeletion: use NodeURL-s 2020-05-21 08:37:13 +03:00
combiner.go satellite/metainfo/piecedeletion: add metrics for deletion requests 2020-06-26 11:12:33 -03:00
dialer_test.go metainfo/piecedeletion: use NodeURL-s 2020-05-21 08:37:13 +03:00
dialer.go satellite/metainfo: adjust piecedeletion timeouts 2021-10-28 13:37:01 +03:00
doc.go satellite/metainfo/piecedeletion: add Service 2020-03-18 14:50:08 +00:00
handler_test.go metainfo/piecedeletion: use NodeURL-s 2020-05-21 08:37:13 +03:00
handler.go metainfo/piecedeletion: use NodeURL-s 2020-05-21 08:37:13 +03:00
queue_test.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
queue.go all: fix dots 2020-07-16 14:58:28 +00:00
service_test.go satellite/metainfo: Update metainfo RS config to more easily support multiple RS schemes. 2020-11-09 22:16:13 +00:00
service.go satellite/metainfo: adjust piecedeletion timeouts 2021-10-28 13:37:01 +03:00