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

[BUG] store error #1068

Open
rotarur opened this issue Dec 26, 2024 · 0 comments
Open

[BUG] store error #1068

rotarur opened this issue Dec 26, 2024 · 0 comments

Comments

@rotarur
Copy link

rotarur commented Dec 26, 2024

I'm getting many of these errors in the agent when using this version sha-7389527. After I downgrade back to v0.21.11 it stops happening

2024-12-26T09:05:21.382668219Z stdout F {"level":50,"time":1735203921382,"pid":1,"hostname":"indexer-agent-upgrade-0","name":"IndexerAgent","component":"Network","indexer":"0xbdfb5Ee5a2aBF4fc7bB1bD1221067aEf7f9dE491","protocolNetwork":"eip155:42161","operator":"0x8b34351aD4e6fB049c14ADfC90aC5ac8923Ba900","component":"NetworkMonitor","protocolNetwork":"eip155:42161","err":{"type":"IndexerError","message":"Failed to query indexer allocations","stack":"IndexerError: Failed to query indexer allocations\n    at indexerError (/opt/indexer/packages/indexer-common/dist/errors.js:179:12)\n    at NetworkMonitor.allocations (/opt/indexer/packages/indexer-common/dist/indexer-management/monitor.js:150:59)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async AllocationManager.prepareTransactions (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:118:32)\n    at async AllocationManager.executeTransactions (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:37:45)\n    at async AllocationManager.executeBatch (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:21:24)\n    at async /opt/indexer/packages/indexer-common/dist/indexer-management/actions.js:189:33\n    at async /opt/indexer/node_modules/sequelize/lib/sequelize.js:507:18\n    at async ActionManager.executeApprovedActions (/opt/indexer/packages/indexer-common/dist/indexer-management/actions.js:156:9)\n    at async /opt/indexer/packages/indexer-common/dist/indexer-management/actions.js:116:50","code":"IE010","explanation":"https://github.com/graphprotocol/indexer/blob/main/docs/errors.md#ie010","cause":{"type":"CombinedError","message":"[GraphQL] Store error: database unavailable","stack":"CombinedError: [GraphQL] Store error: database unavailable\n    at NetworkSubgraph.query (/opt/indexer/packages/indexer-common/dist/network-subgraph.js:126:29)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 0)\n    at async SubgraphFreshnessChecker.checkedQueryRecursive (/opt/indexer/packages/indexer-common/dist/subgraphs.js:243:59)\n    at async NetworkMonitor.allocations (/opt/indexer/packages/indexer-common/dist/indexer-management/monitor.js:98:32)\n    at async AllocationManager.prepareTransactions (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:118:32)\n    at async AllocationManager.executeTransactions (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:37:45)\n    at async AllocationManager.executeBatch (/opt/indexer/packages/indexer-common/dist/indexer-management/allocations.js:21:24)\n    at async /opt/indexer/packages/indexer-common/dist/indexer-management/actions.js:189:33\n    at async /opt/indexer/node_modules/sequelize/lib/sequelize.js:507:18","name":"CombinedError","graphQLErrors":[{"message":"Store error: database unavailable"}]}},"msg":"Failed to query indexer allocations"}
@github-project-automation github-project-automation bot moved this to 🗃️ Inbox in Indexer Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗃️ Inbox
Development

No branches or pull requests

1 participant