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

Spider: ERROR 12710 (HY000): Invalid information from remote table when using MariaDB 10.5 local and MariaDB 10.6 remote

Details

    Description

      When using Spider storage engine on MariaDB 10.5 to connect to a MariaDB 10.6 remote server, if the spider table in your query has an index and is used as part of the query you will get

      ERROR 12710 (HY000): Invalid information from remote table 'employees.dept_emp'
      

      If you run the following command you get the same error

      show index from emp_spider.dept_emp;
      ERROR 12710 (HY000): Invalid information from remote table 'employees.dept_emp'
      

      This issue easily reproducible.

      1. Create a 10.6 server and load the following schema onto it https://github.com/datacharmer/test_db
      2. Create a user to use for spider access
      3. Then build a 10.5 server
      4. Load the emp_spider_repro.sql schema onto the 10.5 server
        1. Be sure use the correct details for creating the server for Spider engine to use
      5. Run the following commands on the 10.5 server

      show index from emp_spider.dept_emp;
      select count(*) from emp_spider.employees;
      select count(*) from emp_spider.employees where emp_no between 1 and 40000;
      

      The first and last command will return with an error but the second command will succeed

      Attachments

        Issue Links

          Activity

            kyle.hutchinson Kyle Hutchinson created issue -
            kyle.hutchinson Kyle Hutchinson made changes -
            Field Original Value New Value
            ycp Yuchen Pei made changes -
            Fix Version/s 10.4 [ 22408 ]
            ycp Yuchen Pei made changes -
            Fix Version/s 10.5 [ 23123 ]
            ycp Yuchen Pei made changes -
            Affects Version/s 10.4 [ 22408 ]
            ycp Yuchen Pei made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ] Alexey Botchkov [ holyfoot ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            holyfoot Alexey Botchkov made changes -
            Assignee Alexey Botchkov [ holyfoot ] Yuchen Pei [ JIRAUSER52627 ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Fix Version/s 10.4.34 [ 29625 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            JIraAutomate JiraAutomate made changes -
            Fix Version/s 10.5.25 [ 29626 ]
            Fix Version/s 10.6.18 [ 29627 ]
            Fix Version/s 10.11.8 [ 29630 ]
            Fix Version/s 11.0.6 [ 29628 ]
            Fix Version/s 11.1.5 [ 29629 ]
            Fix Version/s 11.2.4 [ 29631 ]

            People

              ycp Yuchen Pei
              kyle.hutchinson Kyle Hutchinson
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.