Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-2257

Modify --lock-ddl-per-table to properly close database connection

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 2.4.20, 8.0.13
    • 2.4.21, 8.0.22-15
    • None
    • None

    Description

      When using --lock-ddl-per-table, we commit the transaction holding MDL for all tables as part of mdl_unlock_all() function and from this point forward we don't use mdl_con anymore, however, we are not closing this connection, always causing abort_connections to increase on the server.

      Attachments

        Issue Links

          Activity

            People

              marcelo.altmann Marcelo Altmann
              marcelo.altmann Marcelo Altmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist