algorand / sandbox

Algorand node sandbox
239 stars 159 forks source link

Indexer restarting over and over on down and up in dev #163

Closed bbroder-algo closed 1 year ago

bbroder-algo commented 1 year ago

Subject of the issue

Indexer can't restart itself properly if brought down before a single transaction has been made.

Your environment

Sandbox from master Docker on macos m1

Steps to reproduce

  1. Install docker desktop on an M1 macos
  2. Install the sandbox from master (980a3)
  3. Run ./sandbox clean && ./sandbox up dev -v && ./sandbox down && ./sandbox up -v

Expected behaviour

The sandbox is built, started, stopped, then starts again.

Actual behaviour

The indexer gets stuck in a restart loop when brought back up, with the error in MakeProcessorWithLedger(), err: addGenesisBlock() handler err: AddBlock() err: TxWithRetry() err: attemptTx() err: AddBlock() adding block round 0 but next round to account is 1.

Capture

robdmoore commented 1 year ago

Is there an eta on a fix for this one?

winder commented 1 year ago

A release that solves this problem will be available soon.

bbroder-algo commented 1 year ago

thank you!