View Issue Details

IDProjectCategoryView StatusLast Update
0017070MMW 5FileMonitor / Find Missingpublic2020-12-04 15:35
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0017070: Locate Moved/Missing files performance is slow
DescriptionWhen I tried to find 5 files in a directory that only contained a few (<10) media files, it consistently takes MMW5 25 seconds to complete the request.
TagsNo tags attached.
Fixed in build2274

Relationships

related to 0003004 closedjiri MMW v4 Locate Moved Missing Tracks: always fails when track timestamp doesn't match 
related to 0014505 closedLudek MMW v4 Network Playback: Non Accessible tracks block Playback 
related to 0017166 closedLudek MMW 5 Upgrade to 5.x from 4.x: Artwork may fail to shown on first run 

Activities

Ludek

2020-11-12 22:20

developer   ~0060157

Last edited: 2020-11-12 22:31

This slowdown was caused by checking accessibility of the selected files, the first file was probably on an inaccessible drive and calling FileExists system function took soo long.

I updated the progress bar to show path of the checking file and also used the accessibility timeout (originally speeced in 0014505) that is by default 5 seconds.
i.e. it will skip the files on the inaccessible network drive once FileExists takes more than 5 seconds.

The need to check the accessibility is to locate the files that does not need to be moved and are accessible to show them in "Unmoved files" tab (as you could select bunch of files and only some of them could be truly inaccessible e.g. if you would not select them from within the Dedlinks subnode, but e.g. from Playing list)

The same issue was always in MM4 too, but probably not worth fixing at this MM4 state? Let me know if you want to add this to 4.1.31

So fixed only in 5.0.0.2274

peke

2020-11-15 22:12

developer   ~0060237

Verified 2274

it takes <7s (in case network path is inaccessible)