Hi, I am just wondering, what happens if a node loses its database? Just as a test, I deleted a node’s database in a sample setup and the node just loses it’s states. This is after a reboot, since the states are in memory once started if I am not mistaken? I found nothing on the subject here or in the technical white paper (or I missed it).
It seems (have not digged into the code far enough yet) there is no recovery mechanism built into the system like with Ethereum where there is a sync with other nodes at startup time?
Say there is a network with only one notary, it should be possible to restore the database, given other nodes or the notary still have all the data, no? Obviously, with multiple networks / shared ledgers it will also depend on the databases of the other nodes and notaries if it would be at all possible to restore all states and it will become complex, if not impossible real fast.
So in recap, is there a recovery mechanism for the nodes’ databases or is it on the roadmap? (Maybe it’s not what is intended with Corda and then that is an answer in itself ). Or is the intention that backup or restore mechanism(s) are optionally built in by the devs per application? Obviously backing up and restoring databases on the infrastructure level are the way to go in both scenarios (as far as I can tell).