wojtek opened 1 year ago
|
|||||
This site has thousands of issues and builds, and can be upgraded within one minute. Please test with real data to see how long it takes at your side. |
|||||
Robin Shen changed state to 'Closed' 1 year ago
|
|||||
I just managed to upgrade our installation (from 7.9.0 to 7.9.3) but I guess there weren't any schema changes thus there were no database upgrade even though there is a mention about it:
PS. Could you please not close tickets that fast? Without virtually no new version to upgrade that happened at that time to provide you with more data? |
|||||
Please feel free to reopen the issue if you find it is a problem later. |
|||||
So, while working on trying to upgrade the installation (https://code.onedev.io/onedev/server/~issues/1392) I once again ran into the issue. Untill the error the upgrade was already running for about 4-5 minutes... Btw. Could you use logger with timestamps? It would make reporting this issue and giving you more precise data easier... |
|||||
wojtek changed state to 'Open' 11 months ago
|
|||||
Robin Shen changed state to 'Closed' 6 months ago
|
|||||
Upgrade needs to export whole database, peforming upgrade, and reimport. It will be slower compared with in-place upgrade via sql, but is much flexible, and easier. The upgrade time is about 15 minutes for 1 million issue record, and should be acceptible for most installations. |
Type |
Improvement
|
Priority |
Minor
|
Assignee |
I just upgraded from 7.8.13 to 7.9.0. We currently don't have many projects (like 5 parent projects without any real data). The backup file is only 69KB:
yet the upgrade takes almost 2 minutes (btw. it would be nice to have timestamps for all entries. I guess not using logger here is the culprit?):
This seems like a lot and I fear it will take even longer for when we manage to migrate everything and fill the data (~200 projects, thousands of issues). Have you run any benchmarks in that case? Is there any way to speed up the upgrade process?