Vulncheck / Vulncheck (pull_request) Successful in 6m1sDetails
Build / Build Components (1.21) (pull_request) Successful in 7m37sDetails
Build / Build Components (1.20) (pull_request) Successful in 7m52sDetails
Tests and linters / Staticcheck (pull_request) Successful in 8m56sDetails
Tests and linters / Lint (pull_request) Successful in 9m26sDetails
Tests and linters / Tests (1.21) (pull_request) Successful in 15m5sDetails
Tests and linters / Tests with -race (pull_request) Successful in 15m7sDetails
DCO action / DCO (pull_request) Successful in 1m1sDetails
Tests and linters / Tests (1.20) (pull_request) Successful in 4m1sDetails
Badger implementation isn't tested and works not well,
but requires human resources to maintain.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
If we should process address based on some condition, there is no need
to read file content in memory.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Core changes:
* avoid package-colliding variable naming
* avoid using pointers to IDs where unnecessary
* avoid using `idSDK` import alias pattern
* use `EncodeToString` for protocol string calculation and `String` for
printing
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
`Degraded` mode is set automatically after error counter is over the
threshold. `ReadOnly` mode can still be set by an administrator.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
There is a need to list addresses of the small objects stored in WriteCache
database.
Implement `IterateDB` function which accepts BoltDB instance and iterate
over all saved objects and passes their addresses to the hander.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>