diff options
author | Joey Hess <joey@kitenet.net> | 2014-05-29 15:23:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-05-29 15:23:05 -0400 |
commit | 1f6cfecc972b121fa42ea80383183bbaccc2195a (patch) | |
tree | 0a450c4226f5e05c2a3597a9f520376de281fffe /doc/bugs/interrupting_migration_causes_problems.mdwn | |
parent | a95fb731cd117f35a6e0fce90d9eb35d0941e26e (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were least edited before 2014.
Command line used:
for f in $(grep -l '\[\[done\]\]' *.mdwn); do if [ -z $(git log --since=2014 --pretty=oneline "$f") ]; then git rm $f; git rm -rf $(echo "$f" | sed 's/.mdwn$//'); fi; done
Diffstat (limited to 'doc/bugs/interrupting_migration_causes_problems.mdwn')
-rw-r--r-- | doc/bugs/interrupting_migration_causes_problems.mdwn | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/doc/bugs/interrupting_migration_causes_problems.mdwn b/doc/bugs/interrupting_migration_causes_problems.mdwn deleted file mode 100644 index 68426e54a..000000000 --- a/doc/bugs/interrupting_migration_causes_problems.mdwn +++ /dev/null @@ -1,52 +0,0 @@ -Killing a migration from WORM to SHA256 with ^C breaks things; future attempts to do the migration fail: - - #!/bin/bash - - BASE=/tmp/migrate-bug - - set -x - - chmod -R +w $BASE - rm -rf $BASE - mkdir -p $BASE - cd $BASE - - # create annex - git init . - git annex init - - # make a big (sparse) file and add it - dd if=/dev/zero of=bigfile bs=1 count=0 seek=1G - git annex add --backend WORM bigfile - git commit -m 'added bigfile' - - # look at status - git annex status - - # now migrate it, but kill migration during checksum - # Simulate ^C by making a new process group and sending SIGINT - setsid git annex migrate --backend SHA256 bigfile & - PID=$! - sleep 1 - kill -INT -$PID - wait - - # look at status - git annex status - - # this migration fails - git annex migrate --backend SHA256 bigfile - - # but fsck says everything's OK - git annex fsck - -The error: - - migrate bigfile - git-annex: /tmp/migrate-bug/.git/annex/objects/K9/V1/WORM-s1073741824-m1321566308--bigfile/WORM-s1073741824-m1321566308--bigfile: createLink: already exists (File exists) - failed - git-annex: migrate: 1 failed - -> Fixed it to delete the stale temp file. [[done]] -> -> Thanks for making such clear test cases, Jim! --[[Joey]] |