From c9b48520ccf7c9dbda0ad08150178868cc69f660 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Feb 2012 15:48:01 -0400 Subject: [PATCH] move misplaced bug report --- ...d_repo_results_in_errors_on_drop_move.mdwn | 45 +++++++++++++++++ ...o_results_in_errors_on_drop__47__move.mdwn | 49 ++----------------- 2 files changed, 49 insertions(+), 45 deletions(-) create mode 100644 doc/bugs/nfs_mounted_repo_results_in_errors_on_drop_move.mdwn diff --git a/doc/bugs/nfs_mounted_repo_results_in_errors_on_drop_move.mdwn b/doc/bugs/nfs_mounted_repo_results_in_errors_on_drop_move.mdwn new file mode 100644 index 0000000000..aa0c3cc29a --- /dev/null +++ b/doc/bugs/nfs_mounted_repo_results_in_errors_on_drop_move.mdwn @@ -0,0 +1,45 @@ +I'm on an nfs mounted filesystem (some netapp somewhere). This is repeatable, every time. + + git init repo; cd repo; + git annex init repo + truncate -s 20M big + git annex add big + git commit -m "annexed file" + cd .. + git clone repo repo_copy + cd repo_copy; + git annex get . + git annex whereis big + + #whereis big (2 copies) + # 9310b242-6021-4621-8cef-4548a00907ff -- here + # b3526e4d-38d7-4781-a9c3-436007899f1b -- origin (repo) + #ok + + git annex drop big + + #git-annex: /nfspath/repo_copy/.git/annex/objects/fM/4k/SHA1-s20971520--9674344c90c2f0646f0b78026e127c9b86e3ad77: removeDirectory: unsatisified constraints (Directory not empty) + #failed + #git-annex: drop: 1 failed + + git annex drop big # no error second time, I suspect nfs has caught up by now. + git annex fsck # Doesn't know that the second drop succeeded. + + #fsck big (fixing location log) + # ** Based on the location log, big + # ** was expected to be present, but its content is missing. + #failed + #git-annex: fsck: 1 failed + + git annex fsck + + #fsck big ok + + git annex whereis big + + #whereis big (1 copy) + # b3526e4d-38d7-4781-a9c3-436007899f1b -- origin (repo) + #ok + +I suspect git-annex is just too fast and optimistic for big slow nfs directories. + diff --git a/doc/forum/nfs_mounted_repo_results_in_errors_on_drop__47__move.mdwn b/doc/forum/nfs_mounted_repo_results_in_errors_on_drop__47__move.mdwn index aa0c3cc29a..bf84f75c0b 100644 --- a/doc/forum/nfs_mounted_repo_results_in_errors_on_drop__47__move.mdwn +++ b/doc/forum/nfs_mounted_repo_results_in_errors_on_drop__47__move.mdwn @@ -1,45 +1,4 @@ -I'm on an nfs mounted filesystem (some netapp somewhere). This is repeatable, every time. - - git init repo; cd repo; - git annex init repo - truncate -s 20M big - git annex add big - git commit -m "annexed file" - cd .. - git clone repo repo_copy - cd repo_copy; - git annex get . - git annex whereis big - - #whereis big (2 copies) - # 9310b242-6021-4621-8cef-4548a00907ff -- here - # b3526e4d-38d7-4781-a9c3-436007899f1b -- origin (repo) - #ok - - git annex drop big - - #git-annex: /nfspath/repo_copy/.git/annex/objects/fM/4k/SHA1-s20971520--9674344c90c2f0646f0b78026e127c9b86e3ad77: removeDirectory: unsatisified constraints (Directory not empty) - #failed - #git-annex: drop: 1 failed - - git annex drop big # no error second time, I suspect nfs has caught up by now. - git annex fsck # Doesn't know that the second drop succeeded. - - #fsck big (fixing location log) - # ** Based on the location log, big - # ** was expected to be present, but its content is missing. - #failed - #git-annex: fsck: 1 failed - - git annex fsck - - #fsck big ok - - git annex whereis big - - #whereis big (1 copy) - # b3526e4d-38d7-4781-a9c3-436007899f1b -- origin (repo) - #ok - -I suspect git-annex is just too fast and optimistic for big slow nfs directories. - +Bug reports should be posted in [[bugs]], not in the forum. I have moved +this misplaced bug report to +[[bugs/nfs_mounted_repo_results_in_errors_on_drop_move]]. +--[[Joey]]