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

Move alter table statements in spider init queries to be executed in the signal_ddl_recovery_done callback

    XMLWordPrintable

Details

    Description

      According to monty's comment on MDEV-32532[1], and related discussions with marko. No ALTER TABLE statements should be executed before recovery is done.

      [1] https://jira.mariadb.org/browse/MDEV-32532?focusedCommentId=272499&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-272499

      This task is more relevant after the push of MDEV-22979, because spider executes init queries synchoronously afterwards, and we can no longer "count on" race conditions for the ddl to happen after the recovery... As such, we mark this ticket as caused by that ticket, so that we don't forget to do the same for MDEV-29870.

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              ycp Yuchen Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1d 2h 25m
                  1d 2h 25m

                  Git Integration

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