Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36182

Add new option $rollbackonerror to $DB->start_delegated_transaction()

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 2.4
    • Database SQL/XMLDB
    • MOODLE_24_STABLE

      Fix for PostgreSQL behavior in MDL-35506 introduced a performance regression for PostgreSQL transactions.

      Possible workaround could be to implement new support for new option $rollbackonerror in $DB->start_delegated_transaction(), this would rollback everything automatically. The problem is that developers need to be a lot more careful when using try-catch. We may have to implement some new advanced diagnostics to detect new types of coding errors...

            Unassigned Unassigned
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.