Closed muhamadazmy closed 3 years ago
If nothing is done during migration, things should still works fine but all chunks will be downloaded again and leftover chunks will remains (I guess). This should not break anything but will consume space for nothing.
yeah nothing will break but we are trying to solve the huge inode size issue. If we do not remove what exist in the flat layout, then we do not solve anything. At least not for existing cache
I fully agree. Maybe upgrade post-process should take care of this ? But running process will keep to use old behavior.
Okay, we probably need to handle this here :p
yeah nothing will break but we are trying to solve the huge inode size issue. If we do not remove what exist in the flat layout, then we do not solve anything. At least not for existing cache
Yeah, i was thinking about this but deleting the already downloaded chunks won't solve the problem (well, at least not immediately) because updating g8ufs will not update the "running" mounts.
So we need probably to only clear the cache on machine reboot because only then we know that the flat cached files are not used by other mounts.
Fixes #41