frostfs-node/pkg
Evgenii Stratonikov 27ca754dc1 [#2058] services/policer: Fix panic in shardPolicyWorker
```
2022/11/15 08:40:56 worker exits from a panic: runtime error: index out of range [0] with length 0
2022/11/15 08:40:56 worker exits from panic: goroutine 1188 [running]:
github.com/panjf2000/ants/v2.(*goWorker).run.func1.1()
	github.com/panjf2000/ants/v2@v2.4.0/worker.go:58 +0x10c
panic({0x1042b60, 0xc0015ae018})
	runtime/panic.go:1038 +0x215
github.com/nspcc-dev/neofs-node/pkg/services/policer.(*Policer).shardPolicyWorker.func1()
	github.com/nspcc-dev/neofs-node/pkg/services/policer/process.go:65 +0x366
github.com/panjf2000/ants/v2.(*goWorker).run.func1()
	github.com/panjf2000/ants/v2@v2.4.0/worker.go:68 +0x97
created by github.com/panjf2000/ants/v2.(*goWorker).run
	github.com/panjf2000/ants/v2@v2.4.0/worker.go:48 +0x68
```

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-11-15 18:28:45 +03:00
..
core [#1502] core: Add AddressWithType 2022-11-14 12:29:40 +03:00
innerring [#1713] ir: Add Neo RPC switch interval to the config 2022-10-25 17:38:48 +03:00
local_object_storage [#2053] engine: Do not switch mode because of logical errors 2022-11-15 10:32:01 +03:00
metrics [#1658] metrics: Add object type label to the counters 2022-09-13 21:32:37 +04:00
morph [#1713] node: Add Neo RPC switch interval to the config 2022-10-25 17:38:48 +03:00
network [#2048] network/cache: Optimize ClientCache 2022-11-12 17:15:32 +03:00
services [#2058] services/policer: Fix panic in shardPolicyWorker 2022-11-15 18:28:45 +03:00
util [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00