one more question, if i want active migration, i need to put to file one word true instead of
{âPassiveMigrateâ:false,âWriteToNewâ:false,âReadNewFirstâ:false,âTTLToNewâ:false}
or it shold be {true} ?
I wouldnât rush with migration. Maybe wait 1 more month, they are still tuning it.
And the repair code for hashstore isnât writen yet. So, I wouldnât migrate all my nodes to risc them.
That sounds like passive migration. Make sure there is just the word true in the test file and nothing more. No linebreak. The moment there is a linebreak it will be read as false and the migration doesnât start.
Maybe I missed it but does both active and passive migration need to be enabled at same time. I was under the impression -
Passive migrate - Migrate pieces as and when they are downloaded or uploaded,
Active migrate - Migrate all pieces right now.
I didnât try it. Whats the point of running the active migration while configuring the passive migration to send uploads over to piecestore? That sounds like a bad idea.
I asked that because I have seen users suggest to execute both passive and active migration as per your first post. I think your post should have had the OR between the 2 commands.
I wonder how hashstore can handle a single file error? With good old piecestore it is not a big deal to lose one piece file. But what happens if I lose a logfile or a hashfile? Is the entire node lost then?
The idea was that you can enable passive migration and worry about active migration later. So 2 options to pick from. If you want to enable the active migration I would recommend to enable the passive migration as well.
Then add this cmd when starting the node: --log.custom-level=piecestore=ERROR
This way you will see migration, errors, filewalks, but the log will not be spammed with uploads and downloads.
Regarding the speed, here in one hour the node migrated 11 GB of data, so it isnât blazingly fast, especially if filewalkers and deletes are going on at the same time.