forked from TrueCloudLab/frostfs-node
[#1826] services/object: Parallelize object search
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
90bfe0bad9
commit
2ac42b70ce
4 changed files with 45 additions and 57 deletions
|
@ -22,6 +22,8 @@ type Service struct {
|
|||
type Option func(*cfg)
|
||||
|
||||
type searchClient interface {
|
||||
// searchObjects searches objects on the specified node.
|
||||
// MUST NOT modify execCtx as it can be accessed concurrently.
|
||||
searchObjects(*execCtx, client.NodeInfo) ([]oid.ID, error)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue