Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Server can be slow to start after migrating 4.x -> 5.0 #735
The migration "Embed permalinked events in permalink documents" moves events from the primary event store into permalink documents themselves.
Under some condition, perhaps when a large number of permalinks are present, it appears this can take upward of 2 minutes, causing server start-up to be delayed.
I'm in the middle of a 4.2->5.0 migration right now, with only 16 permalinks in the db, and it's taking 5-10 minutes per link easily. It has been about an hour and a half since I completed the installation and the service started for the first time.
I've tried prioritizing the seq process in hopes to speed it up, but this has been an unexpectedly painful upgrade.
There definitely seems like there is something really wrong here.