bugmldonkey, a multi-networks file-sharing client - Bugs: bug #1424, After clean: sources 0 Not enough...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1424: After clean: sources 0 Not enough sources 0

Submitted by:  None
Submitted on:  Tue 15 Oct 2002 09:20:51 PM UTC  
 
Category: eDonkey-PluginSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: b8+7Release: 1.99 beta
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: None

Mon 03 Mar 2003 11:40:41 PM UTC, comment #2:

source management has changed. fixed in cvs 2.02-25

mldonkey admin <mldonkey>
Project Administrator
Fri 25 Oct 2002 11:08:53 PM UTC, comment #1:

I think 2.00+2 closed that bug...

Anonymous
Tue 15 Oct 2002 09:20:51 PM UTC, original submission:

clients and sources cross reference each other: file has file_sources, client has client_source_for.

remove_old_clients temporarily resets file_sources list, and tries to recreate only entries that are not obsolete. In the end, if enough sources remain, the change is validated; otherwise there's a rollback.
The problem is that client_source_for reverse links are never updated ! And because new_source checks client_source_for, new_source always fails, and file_sources stay empty. The rollback is always triggered, nothing is done.

What about:
Iterate over file_sources; create the list of obsolete entries, count valid entries.
In the end, if enough sources remain, remove the obsolete entries, updating both file_sources and client_source_for.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 03 Mar 2003 11:40:41 PM UTCmldonkeyOpen/ClosedOpen=>(Error - Not Found)
Mon 03 Mar 2003 11:40:40 PM UTCmldonkeyStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1