Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-31698

Make create/drop catalog atomic

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None

    Description

      Add create catalog and drop catalog to ddl_log (to make them atomic)

      • If create catalog fails in the middle, we should delete the catalog files (my.cnf, catalog.opt) and drop the directory.
      • Not sure what to do if 'drop catalog' had started as the user may have killed the server to not
        loose all data. One option is to finish the drop only if the catalog directory does not hold any
        other data than the catalog configuration files.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.