graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

Some events are not indexed by subgraphs

Open julien-devatom opened this issue 3 years ago • 1 comments

Do you want to request a feature or report a bug? bug What is the current behavior?

Some subgraph are not indexing some events

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Our 1st subgraph (https://thegraph.com/hosted-service/subgraph/morpho-labs/morpho-aavev2-mainnet), as well as our second (https://thegraph.com/hosted-service/subgraph/morpho- labs/morphocompoundmainnet) each skipped a transaction ( 0xa70944f5fb1c80ad5cbcae00dabb581f8f6e271c03c28adae987d132979868dc for the 1st, 0x26328b69038fcfe57f27a22ee6031a2b4704657ffde13c0e6d03a583dc5e8365 for the 2nd). We had never had a problem before for a few months. But today, some data displayed on our dApp has become false. This affects the resilience of TheGraph and I can't really understand what happened, on 2 different blocks and on 2 different subgraphs.

What is the expected behavior?

julien-devatom avatar Aug 30 '22 11:08 julien-devatom

Hi @julien-devatom - there was an issue with an upstream provider missing some events, so they were not processed by the Graph Node. We followed up with them and they have resolved the issue. I see you redeployed two days ago - that may have resolved the issue, but if not we can rewind the subgraphs accordingly?

azf20 avatar Sep 01 '22 11:09 azf20

@azf20 hi, we encounter the same issue. Is there a good way to detect if missing events happen or not?

42bchen avatar Oct 20 '22 06:10 42bchen

We have the same problem. Three different transactions / events are not being indexed by the subgraph. The three events are visible on the blockchain. Forcing the subgraph to re-sync did not resolve the issue. Other events of the same type, earlier and later than these three missing ones, are being indexed, however.

Is there a reason why certain specific events would not be indexed (despite others of the same type being indexed properly)?

Is there a recommended solution for this?

bneeland avatar Jan 10 '23 19:01 bneeland

@azf20 Hey I got a same problem I deployed graph-node on my local system and then deployed a subgraph but there are some events not synced by subgraph although the block data whose event is missing is available in the blocks schema of postgres what can be the issue can you help me out

Akshay-deqode avatar Sep 01 '23 08:09 Akshay-deqode