On restart of a persisted instance, getting "Failed to load instance test-instance from storage: DnaMissing" #1768
Comments
I think the problem is that it doesn't exit when it encounters this kind of error... holochain-rust/conductor_api/src/conductor/base.rs Lines 880 to 888 in d832466
|
In general this makes sense cause I hear that it doesn't actually write the DNA into storage |
I found this: holochain-rust/crates/core/src/persister.rs Lines 21 to 29 in a5ad16c
Then for further reference: https://stebalien.github.io/snowflake/snowflake/ Link to #203. Ping @thedavidmeister in case you want to add anything? |
@jamesray1 yes you couldn't safely save any state that is only unique to a given process (e.g. as opposed to UUIDs) - that said i haven't looked around to see if there are still snowflakes in the state (those comments are pretty old) |
@thedavidmeister LTM like there are still snowflakes, e.g.: In the network state:
In ActionWrapper https://github.com/holochain/holochain-rust/blob/master/crates/core/src/action.rs#L40-L55 etc: |
ok, if these are being saved/loaded it makes sense to me to use UUIDs instead |
Then it goes to
Initializing new chain...
I might be missing something, but I think this is a bug wherein you can't actually reload a whole chain from storage :s
The text was updated successfully, but these errors were encountered: