Open matthewdarwin opened 10 months ago
Thank you for the suggestion, we will discuss. We won't consider this a blocker for 5.0.0 stable.
In general the strategy is to just exit (non-clean shutdown): https://github.com/AntelopeIO/leap/blob/6d5248659b40a0ae9723c032cd4aec9181168318/plugins/chain_plugin/chain_plugin.cpp#L1273-L1277
This must be a case where we are not catching and handling std::bad_alloc
appropriately.
My nodeos ran out of RAM..
and then exited cleanly:
I am not convinced that the state of the world is 100% accurate in this situation. Would it be better to not exit cleanly instead?(force user to revert to well known state)
For me, I have rolled back to earlier snapshot to avoid any doubt.