-
Notifications
You must be signed in to change notification settings - Fork 3k
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
mnesia:add_backend_type(Alias, Module) after,mnesia:install_fallback("bk.BUP") error #8045
Comments
If you don't understand anything, feel free to ask me. I check online every day |
@IngelaAndin please help,thanks. |
@axpxp Well yes it seems like you found a bug in an area of the code that is not much used (at least not by us). Of course it would be nice to get it fixed, but unfortunately it will not be a high priority for us. |
@axpxp What module are you using in |
erlang fallback execution sequence error |
@IngelaAndin I have sorted out the test code and can send it to you. As long as you test it, you will know. Please help me, thank you very much |
@IngelaAndin Please help,thank you. |
@axpxp There is a plan for some of my co-workers to start looking at this. I see you already had some communication. |
Thank you very, very much |
Ignore deleted comment, it was an error in fake external_backend implementation. Here is my attempt: |
Please list the specific test steps, including where to download which version, thank you.I'm a novice. |
Please send me a download link to test the version of this problem, thank you |
I'm trying to reproduce your problem in a testcase here, but no success so far: If you reproduce this it would be good if you could paste the error message with stacktrace. |
Eshell V14.2.1 (press Ctrl+G to abort, type help(). for help) starting loading backup bup1.BUP starting =ERROR REPORT==== 15-Nov-2024::12:11:10.378000 === =CRASH REPORT==== 15-Nov-2024::12:11:20.384000 === WaitRes = {error,{node_not_running,'[email protected]'}} =INFO REPORT==== 15-Nov-2024::12:11:20.385000 === =ERROR REPORT==== 15-Nov-2024::12:11:20.393000 === =ERROR REPORT==== 15-Nov-2024::12:11:20.394000 === =CRASH REPORT==== 15-Nov-2024::12:11:20.394000 === =CRASH REPORT==== 15-Nov-2024::12:11:20.394000 === ** exception exit: {aborted,{no_exists,[t,{t,'',''}]}} |
new error,otp_win64_27.1.3.exe/otp_win64_28.0-rc0.exe the generated file is incorrect version25 after executing the mnesia:create_table method: otp_win64_27.1.3.exe/otp_win64_28.0-rc0.exe after executing the mnesia:create_table method: There are still mistakes.
[Execute b1(), then b2(), and then an error is reported] loading backup bk.BUP |
The last one has been updated, please check |
I've created aeternity/mnesia_rocksdb#60, we need changes in mnesia_rocksdb to make it work. |
Thank you very much |
Describe the bug
mnesia:add_backend_type(Alias, Module) after,If the table is empty,Everything is fine,because Module:init_backend first call.
mnesia:add_backend_type(Alias, Module) after,If there's data in the table,mnesia:backup("bk.BUP") after mnesia:install_fallback("bk.BUP") after mnesia:start(),There will be bugs,because Module:init_backend not call.
To Reproduce
mnesia_rocksdb:create_schema([node()]),
mnesia:start(),
mnesia:add_backend_type(Type, Module)
mnesia:create_table(Name, [{Type, [node()]}),
insert some datas,
mnesia:backup("bk.BUP")
mnesia:install_fallback("bk.BUP")
mnesia:start()---Error reported here
Expected behavior
Backup works fine, thank you
Affected versions
OTP 25 26.
Additional context
The text was updated successfully, but these errors were encountered: