frostfs-node/pkg/services
Evgenii Stratonikov d7fcc5ce30 [#1586] objsvc: Allow to send search response in multiple messages
Previously, `ln` was only set once, so search has really worked for
small number of objects.

Fix panic:
```
panic: runtime error: slice bounds out of range [:43690] with capacity 21238
goroutine 6859775 [running]:
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object.(*searchStreamMsgSizeCtrl).Send(0xc001eec8d0, 0xc005734000)
        git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/transport_splitter.go:173 +0x1f0
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search/v2.(*streamWriter).WriteIDs(0xc000520320, {0xc00eb1a000, 0x4fd9c, 0x7fd6475a9a68?})
        git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search/v2/streamer.go:28 +0x155
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search.(*uniqueIDWriter).WriteIDs(0xc001386420, {0xc00eb1a000?, 0xc0013ea9c0?, 0x113eef3?})
        git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search/util.go:62 +0x202
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search.(*execCtx).writeIDList(0xc00011aa38?, {0xc00eb1a000?, 0xc001eec9f0?, 0xc0008f4380?})
        git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search/exec.go:68 +0x91
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search.(*execCtx).executeLocal(0xc0008f4380, {0x176c538, 0xc001eec9f0})
        git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/search/local.go:18 +0x16b
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-28 12:29:22 +00:00
..
accounting [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
apemanager [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
common/ape [#1563] ape: Introduce ChainRouterError error type 2024-12-16 15:12:30 +03:00
container [#1577] container: Reduce iterations through container list 2024-12-27 15:30:26 +03:00
control [#1549] engine: Drop Async flag from evacuation parameters 2024-12-10 17:00:00 +03:00
netmap [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
object [#1586] objsvc: Allow to send search response in multiple messages 2024-12-28 12:29:22 +00:00
object_manager [#1539] go.mod: Bump frostfs-sdk-go version 2024-12-06 15:29:37 +03:00
policer [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
replicator [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
session [#1581] services/session: Use user.ID.EncodeToString() where possible 2024-12-25 18:09:36 +00:00
tree [#1563] tree: Wrap only ChainRouterError erros with ObjectAccessDenied 2024-12-16 15:16:07 +03:00
util [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00