-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorg handling may be broken in 0.20 #3940
Comments
It also looks like whatever state the process is in is blocking shutdown. After the first sigterm, it logs that it's gracefully shutting down and you can force shutdown by pushing ctrl-c again. A second sigterm usually kills the process at this point but it's not responding. A sigkill also does nothing, though I don't think sigkills are currently handled. |
Hey, thanks for opening this issue! Unfortunately our
|
I just deliberately put testnet ord into recovery mode and SIGKILL worked for me. Weird that it doesn't work for you. I'll try simulating reorgs on regtest next and see what happens. |
Unfortunately, I already reverted the instance back to 0.19. I'll start a new 0.20 one and try to simulate a reorg, but it may take some time. For SIG KILL, I just tried doing a SIGKILL on a normally running instance and it's ignored completely 👀 Maybe this is due to it running inside a container, but it shouldn't affect the signal as I'm executing it inside a bash terminal in the container ( |
On regtest it seems to recover without a problem.
|
Hmm, I guess there may have been something else wrong. It's just really strange that it happened across multiple instances. I'll try upgrade again and see if it happens. Will close this ticket for now and reopen if I can reproduce it and get more info. Thanks for looking into it 🙌 |
Mainnet reorg crashing on my side as well could we reopen this to see if we can get to the root of the issue? 🙏 |
What block was the reorg at and do you have any log outputs? |
I have no logs sorry but the block was 863888, will report back if anything comes up |
Got the above while testing regtest:
I'm not able to consistently reproduce this error with the steps described above. ord version: 0.20.0 |
Version |
yep, happened to me on testnet3 also. 0.21.2 ,now can not update .
|
There was a reorg on Testnet around block 2904360. Ord 0.20 successfully picked it up and executed the rollback, but the rollback has been stuck for over 2 hours where it used to be close to instant before. This is on multiple instances of the indexer, not just one, so it's not an outlier issue.
Could something have broken in a new version of redb?
The text was updated successfully, but these errors were encountered: