ipfs-cluster/pintracker/stateless
Hector Sanjuan 67eeb45798 pintracker: clean exit during recover
Shutting down the cluster while a recover operation is ongoing resulted in
each remaining pin in the recover loop producing an error in the logs, as the
loop kept going even though compontents were already shutdown.

With 8 million items, this meant a lot of log messages, and a shutdown delay
that forced the killing of the process in most cases.

The recover loop now exits when the component's context is cancelled.
2021-12-17 11:47:50 +01:00
..
config_test.go pintracker: PriorityPinMaxAge and PriorityPinMaxRetries 2021-11-30 04:20:35 +01:00
config.go pintracker: PriorityPinMaxAge and PriorityPinMaxRetries 2021-11-30 04:20:35 +01:00
stateless_test.go Stateless: add tests to make sure AttemptCounts are set correctly 2021-11-30 04:43:16 +01:00
stateless.go pintracker: clean exit during recover 2021-12-17 11:47:50 +01:00