Skip to content

bug: Weird behaviour when creating a redb store with a path that points to a directory. #126

@rklaehn

Description

@rklaehn

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... ???

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions