Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search request gets error when there are too many objects in container #261

Open
mike-petrov opened this issue Dec 11, 2024 · 2 comments
Open
Labels
blocked Can't be done because of something enhancement Improving existing functionality I3 Minimal impact S4 Routine U2 Seriously planned

Comments

@mike-petrov
Copy link

Is your feature request related to a problem? Please describe.

I'm always frustrated when I can't see my objects in the panel.fs.neo.org, in case there are a lot of objects.

When I try to get 40 objects (https://rest.fs.neo.org/v1/objects/FidCcVzUxzY3PeUksCnnpUQ8h8PJeYPessX8FRMuveSy/search?limit=40&offset=0) in container that has 6 million binary objects, the query terminates with an error:

{message: “failed to search objects: context deadline exceeded”, type: “GW”}

Also this does not work for limit=1, but it works when I specify filters that limit objects search:

[{ "key": "Hash", "match": "MatchCommonPrefix", "value": "4ecaa1e4b9b22825a4e716ced4424369b6b17eb62bd74fe938a36288d976507a" }]

or

[{ "key": "Block", "match": "MatchCommonPrefix", "value": "91323" }]

Describe the solution you'd like

Objects are loaded and displayed under all conditions

@mike-petrov mike-petrov added U2 Seriously planned enhancement Improving existing functionality S4 Routine I3 Minimal impact labels Dec 11, 2024
@roman-khimov
Copy link
Member

Not really possible currently. It's not a gateway issue, rather a NeoFS one.

@roman-khimov roman-khimov added the blocked Can't be done because of something label Dec 11, 2024
@roman-khimov
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Can't be done because of something enhancement Improving existing functionality I3 Minimal impact S4 Routine U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

2 participants