graphprotocol / mission-control-indexer

Technical indexer documentation and infrastructure templates for the Mission Control testnet
21 stars 4 forks source link

Deallocation issues #243

Closed cryptoenthu1 closed 3 years ago

cryptoenthu1 commented 3 years ago

I am trying to deallocate using the following command for all my subgraphs. Its really uncertain behavior. On the explorer Some times it starts shows deallocate immediately but some time never happen. How to make deallocation to happen/ reflect on explorer soon after we execute the command. Is there any constraints for that or its a known bug ?

for id in $(cat /home/graph/subgraphs.txt); do graph indexer rules set $id allocationAmount null done

Jannis commented 3 years ago

The behavior is:

Allocations will be closed after at least one epoch has passed (since they have been created). In the testnet right now, we use an epoch duration of ~4h. So if you created these allocations 8h ago, they would close immediately. If you created them 4h ago, they would close more or less immediately. If you created them 2h ago, they will close in about 2h.

Jannis commented 3 years ago

Please reopen with full indexer-agent logs (raw JSON format) if the above doesn't happen.

cryptoenthu1 commented 3 years ago

Please reopen with full indexer-agent logs (raw JSON format) if the above doesn't happen.

@Jannis , I am not finding option to reopen. Issue is still there. Not reflecting in explorer after 10 hrs as well. Attaching agent log. agent.log