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

Analytics query fails and crashes indexer #1623

Open
n1tranquilla opened this issue Oct 12, 2024 · 4 comments · Fixed by #1624
Open

Analytics query fails and crashes indexer #1623

n1tranquilla opened this issue Oct 12, 2024 · 4 comments · Fixed by #1624
Assignees
Milestone

Comments

@n1tranquilla
Copy link
Collaborator

Query:

query InternalCommands($limit: Int, $sort_by: FeetransferSortByInput!, $query: FeetransferQueryInput!) {
  feetransfers(limit: $limit, sortBy: $sort_by, query: $query) {
    fee
    blockHeight
  }
}

Variables:

{
  "limit": 10000000,
  "sort_by": "BLOCKHEIGHT_DESC",
  "query": {
    "canonical": true,
    "blockHeight_gte": 358604,
    "blockHeight_lte": 359604
  }
}
@n1tranquilla n1tranquilla added this to the Maintenance milestone Oct 12, 2024
@n1tranquilla n1tranquilla self-assigned this Oct 12, 2024
@n1tranquilla n1tranquilla moved this to Backlog in MinaSearch.com Oct 12, 2024
@Isaac-DeFrain
Copy link
Member

Isaac-DeFrain commented Oct 12, 2024 via email

@n1tranquilla
Copy link
Collaborator Author

The limit is too high. I didn't think it mattered. But I think we should bound the limit based on the two heights, if they are both supplied.

@n1tranquilla
Copy link
Collaborator Author

I'll work around this issue in the front end by lowering the limit.

@n1tranquilla
Copy link
Collaborator Author

This is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Next
Development

Successfully merging a pull request may close this issue.

2 participants