Fixes for fast tree listing #1070

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:fix-fast-listing into master 2024-04-02 14:41:32 +00:00

2 commits

Author SHA1 Message Date
9c53cd5d6b [#1070] services/tree: Fix fast listing depth processing
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 10m11s
Build / Build Components (1.20) (pull_request) Successful in 13m45s
Build / Build Components (1.21) (pull_request) Successful in 13m38s
Tests and linters / gopls check (pull_request) Successful in 15m59s
Tests and linters / Staticcheck (pull_request) Successful in 16m31s
Tests and linters / Lint (pull_request) Successful in 19m17s
Tests and linters / Tests (1.21) (pull_request) Successful in 19m19s
Tests and linters / Tests (1.20) (pull_request) Successful in 19m32s
Tests and linters / Tests with -race (pull_request) Successful in 19m20s
DCO action / DCO (pull_request) Successful in 49s
For unsorted `GetSubTree()` we return a single node for depth=1.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-02 15:09:57 +03:00
d112443caa [#1070] pilorama: Fix cycling behaviour for sorted listing
In case there are no items left, return empty slice.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-02 15:09:35 +03:00