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

Cosmetic CLI "stage done" output bug on REPAIR TABLE

    XMLWordPrintable

Details

    • Can result in unexpected behaviour
    • The REPAIR TABLE was reporting "stage done" in progress reporting to the client before the server had processed the REPAIR TABLE. This status message is now send to the client at the correct completed time.
    • Q2/2026 Server Maintenance

    Description

      CREATE TABLE t (c INT);
      REPAIR TABLE t;
      

      Leads to:

      ES 11.4.10-7 34f616d5fd2c649d0c79acb4e2423c90b8f10436 (Debug, Clang 21.1.3-20250923) Build 23/01/2026

      11.4.10-dbg>REPAIR TABLE t;
      +--------+--------+----------+----------+stage done
      | Table  | Op     | Msg_type | Msg_text |
      +--------+--------+----------+----------+
      | test.t | repair | status   | OK       |
      +--------+--------+----------+----------+
      1 row in set (0.014 sec)  
      

      Note the "stage done" CLI output bug. This is only for InnoDB tables, and only from 11.4+.

      Attachments

        Activity

          People

            raghunandan.bhat Raghunandan Bhat
            Roel Roel Van de Paar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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