← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 919424] Re: /rebuild does not update HashData

 

@maksis: TBH I'm not completely averse to the changes made, but the only
issue is how they're specific to Air. Given the advantages one would
have expected the changes to have been introduced upstream rather than
have Air diverge from all other DC++ clients. Perhaps an attempt was
even made in this regard but rejected by others... I'm not sure. Anyway
it does mean that moving away from Air involves subjecting one's drive
to many hours of torture again to recreate the Hash DB in a format that
other clients find acceptable. Of course your motive is to make it easy
to move *to* Air and not away from it (hence the import feature for the
old DB format), but still...

Anyway this is all going off-topic now so I don't want to continue here.
My primary motive was simply to see if this bug could be fixed in DC++
and other clients that use the old DB format. If not it's good to know
that there's at least one client like Air that has a solution, no matter
how proprietary.

-- 
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