near / mpc

30 stars 6 forks source link

dev network node state not running #592

Closed ppca closed 1 month ago

ppca commented 1 month ago

debugging what happened

ppca commented 1 month ago

seems like node state is not advancing successfully from Starting to Started. Investigating why

ppca commented 1 month ago

seems like it has been retrying load triples 3 times and silently failing. It went into running state after I deleted all triples from dev storage. Will get in a fix for load triples retry next.

ppca commented 1 month ago

The only possible caveat I could find is that we changed the key when we do entity into_value() in this PR, where we used to use key: "triple", but now it's key: None. We might potentially have some schema incompatibility issues, but I'm not sure if that explains why the load_triples() retried without printing success or failure messages. Since both dev and testnet is working well at the moment, let's leave it as is, since all the data in the datastore should be compatible with the current code now. If this happens again, we will investigate other causes.