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

Can't read from I_S.INNODB_SYS_INDEXES when having a discarded tablesace

Details

    Description

      When having a discarded tablespace it is not possible to read from INNODB_SYS_INDEXES, the below will fail with ERROR 1105 (HY000): Unknown error, and no further details in SHOW WARNINGS output or the error log.

      CREATE TABLE test.t1(id INT PRIMARY KEY);
      ALTER TABLE test.t1 DISCARD TABLESPACE;
      SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_INDEXES;
      

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Thirunarayanan Balathandayuthapani made transition -
            Open In Progress
            6d 5h 1
            Thirunarayanan Balathandayuthapani made transition -
            In Progress In Review
            19s 1
            Marko Mäkelä made transition -
            In Review Stalled
            1d 13h 42m 1
            Thirunarayanan Balathandayuthapani made transition -
            Stalled Closed
            1h 24m 1

            People

              thiru Thirunarayanan Balathandayuthapani
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.