Project

General

Profile

Bug #54415

Updated by Mathias Schreiber almost 10 years ago


 How to test: 

 # Create two local storage 
 # place the same file in both storage (file name does not matter, only content) 
 # create two indexer tasks for both storage 
 # run the indexer task for the first storage and check the database: the file is present in sys_file 
 # runt the indexer task for the second storage and check the database: the files are missing in sys_file 

 I think the reason can be found in the @processChangedAndNewFiles()@ method of the Indexer. It gets the file from the index repository only by content hash without respecting the storage. 

 The file from the other storage so the indexer thinks the file already exist and will not create a new entry.

Back