mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[GH-ISSUE #463] koel:sync 65535 limit #326
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maryingo on GitHub (Sep 25, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/463
When I run koel:sync on my 100K track library, I get
Everything works as expected when I sync fewer than 65K tracks, but I'm not able to subsequently add the remaining tracks.
Replicated with both mySQL and postgresql.
Is this a database configuration issue of my own or should koel be splitting up the table creation?
@phanan commented on GitHub (Sep 25, 2016):
Can you show where exactly in the code that threw the error?
@phanan commented on GitHub (Sep 25, 2016):
Also, what architecture is your server? Linux (what flavor?) / Windows / Mac? 32 or 64bit? Please give as many details as you can when reporting bugs.
@ArcheTwist commented on GitHub (Sep 25, 2016):
@maryingo how do you get 100,000 songs? How much storage is this using? What is it hosted on?
@maryingo commented on GitHub (Sep 25, 2016):
Sorry for the lack of detail. The server is running a LAMP stack with Ubuntu 16.04.
The sync progress bar will reach 100%, delay for several minutes, then I get the errors:
And:
@phanan commented on GitHub (Sep 26, 2016):
I guessed it right… still, @maryingo, is your Ubuntu 32 or 64bit?
@maryingo commented on GitHub (Sep 26, 2016):
64-bit
@phanan commented on GitHub (Sep 26, 2016):
The reason why this happens is MySQL (and apparently, PostreSQL) has a
limitation of 2^16 (65,536) entries in an
INclause. I'll try to work ona workaround.
On Mon, Sep 26, 2016 at 11:47 AM, maryingo notifications@github.com wrote:
@phanan commented on GitHub (Sep 26, 2016):
@maryingo Can you try if the latest commits on
masterbranch fixed the issue? Please addBROADCAST_DRIVER=loginto.envand runcomposer install, as I've upgraded Laravel to 5.3.@maryingo commented on GitHub (Sep 26, 2016):
Excellent - koel:sync now finishes successfully.
Thank you for looking into and fixing this so quickly, I sincerely appreciate it.