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

Conditionally move recordsets / cursors to the db readonly replica where possible

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • Future Dev
    • None

      All recordsets (at least on postgres) are coming from the primary instead of a db replica. InĀ MDL-70997 I'm moving some of these to be normal queries as they shouldn't be recordsets anyway, but in the more general case we can decide on a case by case basis whether each cursor is able to go to a replica based on the same logic as a normal read query. But we need to store this connection state decision and then keep honoring it and flipping it as we do all the internal cursor fetching and AUX calls so that all of a given cursors actions are on the same connection.

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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