I run into a situation where a subtrie is being created (as response to creating or opening a mount, through hyperdrive) while this.key is not yet set, which means ready thunk has not completed.
The problem is - as things are currently this is hard to recover, becaues the corestore will record wrong dependencies for the cores of the subtries, which makes them not replicate with the parent.
Here it is ensured that the trie has a key before opening subtries.
I run into a situation where a subtrie is being created (as response to creating or opening a mount, through hyperdrive) while
this.key
is not yet set, which meansready
thunk has not completed.The problem is - as things are currently this is hard to recover, becaues the corestore will record wrong dependencies for the cores of the subtries, which makes them not replicate with the parent.
Here it is ensured that the trie has a key before opening subtries.