From 0b5d1e17b0fcfa0ea383e90e89e62d9eb6f91c3e Mon Sep 17 00:00:00 2001 From: Franky <Franky@web> Date: Fri, 19 Jun 2020 02:10:29 +0000 Subject: [PATCH] removed --- ...on_a_remote_completely_drops_the_file.mdwn | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 doc/bugs/Running_fsck_on_a_remote_completely_drops_the_file.mdwn diff --git a/doc/bugs/Running_fsck_on_a_remote_completely_drops_the_file.mdwn b/doc/bugs/Running_fsck_on_a_remote_completely_drops_the_file.mdwn deleted file mode 100644 index 28d18bdd18..0000000000 --- a/doc/bugs/Running_fsck_on_a_remote_completely_drops_the_file.mdwn +++ /dev/null @@ -1,38 +0,0 @@ -### Please describe the problem. -Running fsck on a remote completely drops the file - -### What steps will reproduce the problem? -* Create a standard git annex repo -* Set up another remote (I used a standard git annex repo) in it -* Corrupt a file in the remote repo. Changing one byte is sufficient for this -* Run `git-annex fsck` -* git-annex will notice the corruption and completely drop the file from the remote - -I expect git-annex to never drop data unless specified as also mentioned [here](https://git-annex.branchable.com/walkthrough/fsck__58___when_things_go_wrong) - -I would rather look at the corrupted file myself and figure out the best course of action instead of losing it completely. - -At this point, I'm working around it by not running fsck on remotes, since local fsck seems to work as expected. - - -### What version of git-annex are you using? On what operating system? -8.20200309, Mac - - -### Please provide any additional information below. - -~~~ -$ ga fsck --from=origin -fsck dir1/dir1_file1 (checksum...) ok -fsck dir1/dir1_file2 (checksum...) ok -fsck file1 (checksum...) - file1: Bad file content; dropped from origin -failed -fsck file2 (checksum...) ok -(recording state in git...) -git-annex: fsck: 1 failed -~~~ - -### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) -Yes it stores most of my data -