Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.12
    • Fix Version/s: 10.0
    • Component/s: None
    • Labels:
    • Environment:
      Debian 7 x64 under Virtualbox

      Description

      The spider_copy_tables function doesn't work at all. I tried to shut off a MariaDB server, rerun it again, the status_link was equal to 3. I truncated the partition on which the server failed. Tries to changed it to 2 for maintenance purpose:

      ALTER TABLE backend.sbtest 
      ENGINE=spider COMMENT='wrapper "mysql", table "sbtest"' 
       PARTITION BY KEY (id) 
      ( 
       PARTITION pt1 COMMENT = 'srv "backend1 backend2_replication"  mbk "2", mkd "2", msi "3306", link_status "2 0"', 
       PARTITION pt2 COMMENT = 'srv "backend2 backend1_replication"  mbk "2", mkd "2", msi "3306", link_status "0 0"' 
      );
      

      Then copy the Spider table using spider_copy_tables:

      MariaDB [(none)]> select spider_copy_tables('backend.sbtest#P#pt2','1','0');
      +----------------------------------------------------+
      | spider_copy_tables('backend.sbtest#P#pt2','1','0') |
      +----------------------------------------------------+
      |                                                  1 |
      +----------------------------------------------------+
      1 row in set (2 min 0.73 sec)
      

      The return code means it's ok, however the table remains still empty. Nothings have been copied.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Kentoku Kentoku
                Reporter:
                Pierre Pierre Mavro
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified