forum/Does migrate ensure data integrity?git-annexhttp://git-annex.branchable.com/forum/Does_migrate_ensure_data_integrity__63__/git-annexikiwiki2013-11-27T22:47:37Zcomment 1http://git-annex.branchable.com/forum/Does_migrate_ensure_data_integrity__63__/comment_1_cef50b32c46f4406c6f918c5866ddc15/joey2013-11-27T22:47:37Z2013-05-13T18:28:01Z
<p>I actually didn't originally consider this, but it turns out I have wonderful users, and you're at least the second to consider this case.</p>
<p>So the released git-annex version does already verify the checksum when doing a migration. However, as I was checking this, I noticed
I had left a window between the verification and the generation of the new key for the migration. It's pretty unlikely a file would get corrupted just as it was being migrated, but that's no excuse. I've committed a change that reverses the order; so it generates a new key and then verifies the old one.</p>
comment 2http://git-annex.branchable.com/forum/Does_migrate_ensure_data_integrity__63__/comment_2_f389b924c8531b35fdf5dedd10fc8000/GLITTAH2013-11-27T22:47:37Z2013-05-14T15:54:08Z
An even better solution. Thanks for your time and effort joey!