There is one thing that I have just noticed today: On several nodes that have already completed migration, the switch only in 1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE.migrate_chore has reverted to true. This comes after migration had already been fully completed and all migration switched had been set to false to prevent further IO spent on this.
All other migration chore files have their switches set to false. From the date of the file it seems the changes has been made on the 15th of May.
What is issue with having it enabled, if blobs are empty? Also you may try to change it and set as read-only.
also
$ storagenode setup --help | grep migr
...
--storage2migration.suppress-central-migration if true, whether to suppress central control of
migration initiation
...
It shold not turn itself back on. I mean the problem is not that I can’t disable it again. The problem is that I would have to monitor the status for each satellite per node if Storj turns it on and off whenever they want to. If I turn it off it shold remain off.
as --storage2migration.suppress-central-migration=true or --storage2migration.suppress-central-migration="true" or --storage2migration.suppress-central-migration true?
No. I couldn’t be bothered to do that manually. And some are still there so it does not seem to happen automatically, I don’t know.
All three are valid.
I checked with CoPilot, the cleanup is happening during migration. So if all pieces are migrated, all their folders should be removed as well, including 2-letters directories. It even removes zero-sized objects and their directories. But didn’t remove non zero files and non empty directories.
It is performed only during migration and never after. So if they are left, then they are likely not empty and you need to cleanup them manually, if the remained pieces cannot be migrated (you should see errors in your logs).
ls storage/blobs/v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa/2j | wc -l
0
Maybe automatic removal was not implemented when I migrated or it did not work. I have no idea. All I can say is that the folders are there and on most nodes completely empty.
That’s interesting. Does it cleanup even though migration has been completed already? In that case the best way might be indeed to set the migration chores back to true.
What will happen if broken pieces are left in subfolders?