hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
190 stars 56 forks source link

Improve resiliency regarding underlying bitcoind #289

Closed lgalabru closed 1 month ago

lgalabru commented 6 months ago

Seems like ordhook was unable to stay in sync after the manual sequence of events:

1. mounted 2 new disks for btc24 and ordhook
2. restored btc24 data from ~3day old snapshot to new btc disk mount
3. updated ordhook config to use new btc mount but it had 3day old data so ordhook had to wait for btc to catch up
4. put ordhook into maintenance mode
5. copied all ordhook data into new ordhook disk
6. updated ordhok config to use new disk & took ordhook out of maintenance mode