frostfs-node/pkg/services/policer
Alex Vanin bca7cf9470 [#1047] policer: Check context before job selection
When application is being terminated, replicator routine
might be on the object picking phase. Storage is terminated
asynchronously, thus `Select()` may return corresponding
error. If we don't process `context.Done()` in this case,
then application freezes on shutdown.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-20 14:42:57 +03:00
..
check.go [#965] replicator: Make HandleTask function public 2021-11-26 15:39:38 +03:00
policer.go [#965] policer: Implement continuous replication 2021-11-26 15:39:38 +03:00
process.go [#1047] policer: Check context before job selection 2021-12-20 14:42:57 +03:00
queue.go [#965] policer: Implement continuous replication 2021-11-26 15:39:38 +03:00