[Koha-bugs] [Bug 25078] Update DB process - wrap each DBRev inside a transaction and better error handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 28 09:07:15 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement improves
      release notes|                            |the reliability and error
                   |                            |reporting of our database
                   |                            |update procedures.
                   |                            |
                   |                            |We now
                   |                            |stop the upgrade if we come
                   |                            |across an error and roll
                   |                            |back anything inside that
                   |                            |upgrade step.  We also now
                   |                            |report the errors to the
                   |                            |end-user, both on the
                   |                            |command line or in the
                   |                            |browser.
                   |                            |
                   |                            |Finally, our
                   |                            |monolithic updatedateabase
                   |                            |script had been growing
                   |                            |unmanageably large for some
                   |                            |time. This patchset allows
                   |                            |us to split each upgrade
                   |                            |step into a single atomic
                   |                            |file and thus simplifies
                   |                            |writing updates and
                   |                            |applying retrospective
                   |                            |fixes.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list