frostfs-node/pkg/services/object/search/local.go

24 lines
394 B
Go
Raw Normal View History

package searchsvc
import (
"git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
"go.uber.org/zap"
)
func (exec *execCtx) executeLocal() {
ids, err := exec.svc.localStorage.search(exec)
if err != nil {
exec.status = statusUndefined
exec.err = err
exec.log.Debug(logs.SearchLocalOperationFailed,
zap.String("error", err.Error()),
)
return
}
exec.writeIDList(ids)
}