View Issue Details

IDProjectCategoryView StatusLast Update
0011199MMANavigationpublic2013-11-08 16:41
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.4 
Target Version1.0.4Fixed in Version1.0.4 
Summary0011199: Deleting large playlists takes several minutes
DescriptionWhen the user attempts to delete a playlist that contains a lot of tracks, it takes several minutes to do so. e.g. a playlist of 1500 tracks takes 3 minutes to delete, during which the UI is locked and 'Deleting...' is displayed.
TagsNo tags attached.
Fixed in build182

Relationships

related to 0011185 closedmarek Wi-Fi Sync: analysis takes much too long, and tracks sync needlessly (regression) 

Activities

rusty

2013-08-26 19:47

administrator   ~0037276

Note that the behavior isn't consistent. Performance seems to be much worse when deleting multiple playlists (or possibly when deleting playlists that were synced via USB).

rusty

2013-08-26 21:28

administrator   ~0037279

Also, I'm not certain that the problem is specifc to playlists. Upon synching where 2 tracks are auto-deleted, deletion of the second of 2 tracks takes ~5 minutes!

This makes me wonder whether the behaviors described above have the same cause as those described in 0011201, and are cause by some sort of failure at the UPnP layer. (note: when these bugs occur, networking via the browser or ES File Explorer works fine i.e. there is no generalized networking problem).

rusty

2013-08-27 18:51

administrator   ~0037308

I just submitted 2 debug logs illustrating this (identified by 'bug 11199'). In the logs, I performed a wifi sync and 44 tracks were auto-deleted, but on the 44th track, mma is taking a really long time to delete the track. I sent the logs while mma was in process of deleting the track.

rusty

2013-08-27 20:16

administrator   ~0037309

I just submitted a log in which I manually deleted 3 playlists. But this time it only took 0000025:0000030 seconds: QHG7Y37L3K (still much longer than it should take).

marek

2013-08-29 12:22

developer   ~0037340

re 0037398 - this delay was caused by connection timeout after deletion of last file. But UI is not changed...there is no reason. Process flow is ok. Sync continued after successful second attempt.

rusty

2013-08-29 13:04

administrator   ~0037344

Last edited: 2013-08-29 13:08

The strange thing is that these delays consistently seem to happen at deletion of the last file (or when downloading, at the second to last file). You can see this in the logs at 0011216.

Note: this bug is currently tracking 2, possibly unrelated issues:
1) delay (can be minutes) at the last/second to last sync operation
2) delay (~20 seconds) when manually deleting playlists (though in some non-replicable cases it was taking 2-3 minutes)

Re. the second issue: I've uploaded a new log:
KW8DVT6753

marek

2013-09-12 00:00

developer   ~0037475

1) Fixed in build 163
I've added some new messages indicating current sync progress so it doesn't look like delete is frozen.

marek

2013-09-12 15:27

developer   ~0037485

2) Added log messages, new log from build 163 is needed...thanks

rusty

2013-10-03 15:52

administrator   ~0037740

Debug log from build 167 uploaded: ERAUKQ8GOT

Deleted playlist 'Good stuff' (0000198:0001000 tracks) took ~15s

marek

2013-10-22 09:33

developer   ~0037977

After discussion over IM, assigning to Martin because it looks like issue in TransactionManager.

martin

2013-11-07 16:34

developer   ~0038216

Fixed in build 181.

rusty

2013-11-08 06:45

administrator   ~0038228

Tested 181, and deleting playlist: 'Good Stuff' (consisting of 1078 tracks) still takes ~15s.

martin

2013-11-08 09:40

developer   ~0038234

Marek didn't include my commits to build 181. So he is going to create new one 182.
It should take less than 1s now.

rusty

2013-11-08 16:41

administrator   ~0038244

Verified 182.