linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08844
[Bug 919424] Re: /rebuild does not update HashData
@20: "You need to restart the application after removing the files (and
all other files with the same TTHs) from share before performing
rebuild."
That's the problem right there. Files one has moved and/or renamed but
that are still shared shouldn't need to be deleted (or moved out of the
share) completely in order for their older invalid entries to be purged.
The program should be doing all the work during a rebuild instead of
relying on users to do things manually.
Since a rebuild is user initiated the program should check each
file/path's existence, and non-existent ones should be simply purged
irrespective of whether any other entries have the same hash.
Is there any complication that prevents this change from being made for
so many years I wonder, or is it just because there's been no-one to
work on it?
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/919424
Title:
/rebuild does not update HashData
Status in ApexDC++:
New
Status in DC++:
Confirmed
Bug description:
BCDC 0.790a.
Windows 7 SP1 x64.
Summary:
If you add a new share, hash the files, and then remove it, issue a /rebuild and then re-add the same share again, DC++ will not rehash the files. Furthermore, a /rebuild between adding/removing shares does not change the size of hashdata.dat or hasindex.xml.
Repro:
* add a new share. accept the default name. DC++ hashes the files.
* open your filelist to validate share is present.
* check the size of hashdata and hashindex.
* remove the share you just added.
* issue a /refresh and /rebuild.
* note the size of hashdata and hashindex has NOT changed.
* add the same share again, accepting the default name. DC++ does NOT hash the files.
* issue a /refresh. DC++ does not re-index the files from that share.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apexdc/+bug/919424/+subscriptions
References