Closed Chopp3rDave closed 10 months ago
The logs seem to report a key conflict, probably caused by same ids on different servers. There is a change in the database now, which should fix this. Can you try again with the new release 1.2.1?
Thanks for that, I was able to get past the initial scan. However, I opened a fairly large TV library, and got the following warning which seems accurate as the load time is over 10+ min and still hasn't opened:
warn: Microsoft.EntityFrameworkCore.Query[20504] Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
I'm glad this release fixed your initial problem. And you're right, there might be potential to optimize the sync speed. I think the query behaviour is only one of the things to do. Just to relate to some numbers, what scale is 'a fairly large TV library'?
This specific library was 373 tv shows.
There might be a decent performance boost in the next release by trying also http connections. That should speed the sync a little bit up. Query behaviour is still an open task to improve. I'll close this issue for now, feel free to open a new one if there are issues.
I have 5 shared servers in addition to my own server. Trying to do the initial "Sync all metadata now" however I consistently get an error such as:
As there isn't any way to selectively choose which servers (or libraries) to sync, I'm unable to use the app. I'm not seeing any other way to get past this. If I can provide any further information, please let me know.