graphprotocol / mission-control-indexer

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

Bug: Indexer CLI, Indexer Agents logs, Explorer UI - allocations discrepancy and stale config #75

Closed davaymne closed 3 years ago

davaymne commented 4 years ago

Current epoch: 1564

There are 3 sources of Deployment/Allocations to fetch deployments status. All of them displays different deployments/allocations details.

Explorer UI: Screenshot 2020-09-16 at 12 25 16

Indexer CLI: Screenshot 2020-09-16 at 12 25 54

Indexer Agent logs: {"level":30,"time":1600255566054,"pid":1,"hostname":"782c058d8caf","name":"IndexerAgent","deployment":{"bytes32":"0x4d31d21d389263c98d1e83a031e8fed17cdcef15bd62ee8153f34188a83c7b1c","ipfsHash":"QmTXzATwNfgGVukV1fX2T6xw9f6LAYRVWpsdXyRWzUR2H9"},"epoch":1568,"allocationAmount":"700.0","totalActiveAllocationAmount":"400.0","desiredNumberOfAllocations":1,"activeNumberOfAllocations":2,"activeAllocations":[{"id":"0x262ef6def3ca5e82a06292717c662c3a416862b1","createdAtEpoch":1558,"amount":"200.0"},{"id":"0x6be1c7fbeb8c69a97f3cd18a229aa1b6900a1684","createdAtEpoch":1558,"amount":"200.0"}],"msg":"Reconcile deployment allocations"} {"level":30,"time":1600255566055,"pid":1,"hostname":"782c058d8caf","name":"IndexerAgent","deployment":{"bytes32":"0x858a83955b3237f9dd96b7d9f4fe2b34a4e729bc27f3686ced92bee04d33d286","ipfsHash":"QmXKwSEMirgWVn41nRzkT3hpUBw29cp619Gx58XW6mPhZP"},"epoch":1568,"allocationAmount":"100.0","totalActiveAllocationAmount":"200.0","desiredNumberOfAllocations":2,"activeNumberOfAllocations":2,"activeAllocations":[{"id":"0x02f8936b8d56b5306d28639b2665dd2e060a19c3","createdAtEpoch":1558,"amount":"100.0"},{"id":"0xd2b7bf48b27d963fb8a5e7fea5f80544983c3830","createdAtEpoch":1558,"amount":"100.0"}],"msg":"Reconcile deployment allocations"}

nenadjaja commented 4 years ago

Good catch - there is definitely some discrepancy here (as there are many layers that integrate together in the UI :) ). We'll look into it

trader-payne commented 3 years ago

@davaymne is this still happening? If not, feel free to close the issue 🙂

davaymne commented 3 years ago

It seems like it is working now.