Closed trevorbernard closed 5 months ago
2024-05-17T00:14:59.872165+00:00 - INFO Parsing ledger file at /home/bk/builds/bk1-1/granola/mina-indexer/data/genesis_ledgers/mainnet.json 2024-05-17T00:14:59.878069+00:00 - INFO Genesis ledger parsed successfully Error: IO error: While lock file: /mnt/mina-log-storage/7865e798-database/LOCK: Resource temporarily unavailable
A more useful message will be along the lines of: "Another Mina Indexer is primary on the database. Closing"
Could this occur because the prior mina-indexer instance was not shut down properly, @trevorbernard ?
Possibly related #767
Will try using cancel_all_backgraound_work(true) on shutdown
cancel_all_backgraound_work(true)
A more useful message will be along the lines of: "Another Mina Indexer is primary on the database. Closing"