Hi guys, i am trying to have algorand indexer in k8s in HA mode…
I have postgresql in HA mode
So if i turn 3 instances of algorand indexer connected to the same database, I assume that all 3 instances are trying to get sync with the algod server, and only one succeed to insert the block…
However when they try to insert the block and do not succeed they crash
{"error":"AddBlock() err: TxWithRetry() err: attemptTx() err: AddBlock() adding block round 19152593 but next round to account is 19152594","level":"error","msg":"adding block 19152593 to database failed","time":"2022-01-15T11:41:31Z"}
Is there any way how i can turn some indexers just to do the query part to the database and not trying to sync with the algod server? i think that might solve the issue… or perhaps if anybody already resolved the TxWithRetry crash before, can he share his insides please?
Indexer v 2.8.0 built with AlgorandNodes/compose-indexer-stable.yaml at main · scholtz/AlgorandNodes · GitHub
