mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [Bug #1424] After clean: sources 0 Not enough sources 0


From: nobody
Subject: [Mldonkey-bugs] [Bug #1424] After clean: sources 0 Not enough sources 0
Date: Tue, 15 Oct 2002 17:20:51 -0400

=================== BUG #1424: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1424&group_id=1409

Submitted by: None                      Project: mldonkey, a free e-Donkey 
client
Submitted on: 2002-Oct-15 17:20
Category:  eDonkey-plugin               Severity:  5 - Major                    
Bug Group:  None                        Resolution:  None                       
Assigned to:  None                      Status:  Open                           
Release:  1.99 beta                     Release:  b8+7                          
Platform Version:  Linux i386-i686      Binaries Origin:  Compiled From CVS     

Summary:  After clean: sources 0 Not enough sources 0

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.



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1424&group_id=1409




reply via email to

[Prev in Thread] Current Thread [Next in Thread]