aMule Forum
English => en_Bugs => Topic started by: gav616 on May 07, 2009, 03:10:26 PM
-
downloaded file 'X', completed the file, renamed 'X' to 'Y' (in my nix file-manager), aMule rehashes 'Y' and loses all the data from when named 'X',
shouldn't it know that I've just renamed it and keep the data? that's what MD4 is for, right?
using SVN
-
Yes, it should do that.
-
Should it? Why do you assume it's the same file?
-
Same size and MD4 after hashing, same file.
-
I can confirm!
Maybe the statistics for the file are saved with the name of the file, and not with the hash?
-
yeap, names of files don't matter its the ID's....same with clients, nicks don't matter its there IP or ident i think.
-
so what happens when you have the same file in two different places?
-
amule handles the same as emule and shares the first one, ignoring the second 'same' file, regardless of name or location. But it couples the stats for the first one only.
why you would what to share same file twice?
-
so what happens when you have the same file in two different places?
Warning in the log view, and publish only the name of the first. The second one must be stored in known files too of course, or it will be rehashed every time.
Stats will stick to the hash, not to the file. This might mean both known files will be stored with identical stats (haven't investigated the data model).
You can't say for which one an upload request should be counted anyway.
-
so is this fixed yet? (or getting...)
-
Eventually, unless Kry decides to veto it.
-
This is still here and really annoying when co-releasing, any news on fixing?
(also renaming in shared files tab would help too)
-
(also renaming in shared files tab would help too)
The patch is ready but one of the files it touches is still locked.
-
ahh i see.
*waits patiently *
-
I see '10174' enables renaming of completed file, this also seems to fix 'this' problem, It seems to keep all stats data from the file you rename.
p.s.
You have to restart 'rGUI' for the renamed file to update
EDIT*
I thought this problem was fixed, but it's not, if I rename the file in my file manager it resets all the data when I reload 'shared files' it's not recognising that its the same hash just a different name.
-
That's two different things actually.
-
*waits patiently *
Patience is rewarded in 10490. :)
The patch is ready but one of the files it touches is still locked.
Whoops, only found that after it was done. But you had probably forgotten about it anyway. ;)
-
The patch is ready but one of the files it touches is still locked.
Whoops, only found that after it was done. But you had probably forgotten about it anyway. ;)
True, and I also don't seem to have that anymore...