Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup error #52

Open
mpope9 opened this issue Jul 31, 2024 · 0 comments
Open

Startup error #52

mpope9 opened this issue Jul 31, 2024 · 0 comments

Comments

@mpope9
Copy link

mpope9 commented Jul 31, 2024

While running this for the first time I see the following:

[error] GenServer :mnesia_rocksdb_admin terminating
** (FunctionClauseError) no function clause matching in :mnesia_rocksdb_admin.map_cfs/4
    (mnesia_rocksdb 0.0.0+build.95.ref296813e) /Users/user/project/deps/mnesia_rocksdb/src/mnesia_rocksdb_admin.erl:1542: :mnesia_rocksdb_admin.map_cfs({:error, {:db_open, ~c"IO error: No such file or directory: While mkdir if missing: /Users/user/project/Mnesia.nonode@nohost/mnesia_rocksdb-rocksdb_copies-_db.extrdb: No such file or directory"}}, [{~c"default", [merge_operator: :erlang_merge_operator]}, {~c"{a,rocksdb_copies}", [merge_operator: :erlang_merge_operator]}], :rocksdb_copies, %{mountpoint: ~c"/Users/user/project/Mnesia.nonode@nohost/mnesia_rocksdb-rocksdb_copies-_db.extrdb"})

I had to run a mkdir "Mnesia.nonode@nohost" first. This is on Mac with Intel. Here is the repro:

:mnesia.create_schema([node()])
:ok = :mnesia.start()
{:ok, :rocksdb_copies} = :mnesia_rocksdb.register()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant