ipfs-cluster/pintracker
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
..
optracker pintracker: carry over attempt account only for operations of the same type 2021-11-30 04:20:35 +01:00
stateless pintracker: clean exit during recover 2021-12-17 11:47:50 +01:00
pintracker_test.go Fix #1360: Efficient pinset status with filters 2021-07-06 11:34:19 +02:00