[Koha-bugs] [Bug 34088] New: Schema upgrade should short circuit faster if no upgrade needs to be done
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 22 02:55:05 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34088
Bug ID: 34088
Summary: Schema upgrade should short circuit faster if no
upgrade needs to be done
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
At the moment, if there is no database upgrade to run, updatedatabase.pl can
take over 1.1 seconds to run. If you chain together 60 runs of
updatedatabase.pl via koha-upgrade-schema and "apt-get install koha-common",
that takes well over 1 minute at best to check that nothing needs to be done.
(In practice, I think it goes over 1 minute.)
We should be short circuiting earlier because we have the code version at hand
and it's easy to check the database version.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list