-
Notifications
You must be signed in to change notification settings - Fork 83
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
fix: Migrate dialog does not show in v0.114.2 #3101
Conversation
/package |
/package |
IMO, the user-specified full node(3rd option in this case) should be able to set the data directory, it may be a bug, need confirmation from @Danie0918 You can replace the The migration is triggered when your active CKB node starts and it finds its data is too old. So in fact the replacement should be taken in the directory of your active/selected node. |
This should be a bug that needs to be fixed. |
OK, @devchenyan |
I don't think so. If the selected node is not an internal node, it can not be set the data path. At that the users start the ckb node, so we will not show the migrate dialog and show the data path. And we can not get the ckb data path, all of the ckb node and data are controlled by the users. |
What is the conclusion?Need to add path setting in testnet node? @Danie0918 |
Migrate dialog only shows when selecting the |
/package |
I have replace data to /Volumes/My\ Passport/ckb节点/ckb_v0.108.1_x86_64-apple-darwin-portable/testnet/data ,but can not see migrate dialog. 2024-04-12.15.21.02.mov |
@devchenyan please check this issue~ |
|
|
@@ -26,6 +26,11 @@ const platform = (): string => { | |||
} | |||
} | |||
|
|||
enum NeedMigrateMsg { | |||
Wants = 'CKB wants to migrate the data into new format', | |||
Recommends = 'CKB recommends migrating your data into a new format', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommends = 'CKB recommends migrating your data into a new format', | |
// https://github.com/nervosnetwork/ckb/blob/31bcecddc8ad5b7d0a30399ef55a5ce0a359bb7e/shared/src/shared_builder.rs#L79 | |
Recommends = 'CKB recommends migrating your data into a new format', |
When last version is not null and !v108 both true,can trigger the migration ? |
Find the reason,path should choose to testnet file,not testnet/data file. |
Maybe internal node data path choose can add tips to tell users which directory can be used is better @Danie0918 |
This can only be suggested to the user and may still cause this problem. Any other solutions? @devchenyan @yanguoyu |
I believe the user only needs to know the root directory of the ckb data, it's unnecessary to understand the meaning of each directory of the ckb data root directory. |
issue: Magickbase/neuron-public-issues#374