We are correctly getting an error out of redb. But then the store creation just hangs instead of returning with an error.
It seems that for some weird reason the async call to create the store, using our own runtime, never returns.
Exactly here:
let actor = handle.
spawn(Actor::new(
db_path,
rt.into(),
commands_rx,
fs_commands_rx,
fs_commands_tx.clone(),
Arc::new(options),
)) // Actor::new fails with an error
.await??; // this await never returns!
Weirdly this does work if the Actor::new fn returns Ok... ???