I have an Ethereum full node running on a vps, and I noticed that it was abruptly out of sync for three days. I searched in the logs, and found this. My system daemon received a shutdown signal, and rebooted the node:
I scrolled through the logs further, and drew attention to the lines when loading the node, which indicate the loaded blocks and headers:
As you can see, my node has actual blocks, but after rebooting for some reason, it started with irrelevant blocks three days ago. I suppose the fact is that they are marked as "most recent local full block", in this case how to make the actual blocks become most recent local full block.
You can also see in the second screenshot that in the first data set, the "most recent local full block" is only 39 seconds old, but after that there is a "Head state missing, repairing number=16,514,819 hash=790707..1934b0 snaproot=a21c30..dd9906" and the second data set is loaded, where the "most recent local full block" is 3 days old. I also don't understand what this is related to, if you understand, can you please explain!