Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5279

MCS Cluster: After software update from 6.x to 22.08, queries hang on one node

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 22.08.2
    • 22.08.3
    • None
    • 2022-22

    Description

      "Where this join query hangs forever on the master node, but runs fine on the replicas"

      SELECT ff.acct_id, COUNT(1) 
      FROM ff JOIN dd  ON ff.acct_sk =dd.acct_sk 
      AND ff.db_source_sk =dd.db_source_sk 
      GROUP BY ff.acct_id LIMIT 10;
      

      mariadb -e "create database test; use test;"
       
      mariadb test -e "CREATE TABLE `dd`( `acct_sk` INT(11) UNSIGNED NOT NULL, `acct_id` VARCHAR(128) NOT NULL DEFAULT 'None', `db_source_sk` INT(11) UNSIGNED NOT NULL) ENGINE=Columnstore DEFAULT CHARSET=utf8mb4;"
      mariadb test -e "CREATE TABLE `ff` ( `db_source_sk` INT(11) UNSIGNED NOT NULL, `acct_id` VARCHAR(128) NOT NULL DEFAULT 'None', `acct_sk` INT(11) UNSIGNED NOT NULL DEFAULT 0 ) ENGINE=Columnstore DEFAULT CHARSET=utf8mb4;"
       
      mariadb test -e "INSERT INTO dd SELECT ROUND(RAND() * 10, 2), substring(MD5(RAND()),1,1), ROUND(RAND() * 100, 2) FROM seq_1_to_300000; "
      mariadb test -e "INSERT INTO ff SELECT ROUND(RAND() * 10, 2), substring(MD5(RAND()),1,1), ROUND(RAND() * 100, 2) FROM seq_1_to_300000;"
      
      

      Attachments

        Issue Links

          Activity

            edward Edward Stoever created issue -
            toddstoffel Todd Stoffel (Inactive) made changes -
            Field Original Value New Value
            Rank Ranked higher
            toddstoffel Todd Stoffel (Inactive) made changes -
            Assignee Roman [ drrtuy ]
            toddstoffel Todd Stoffel (Inactive) made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            toddstoffel Todd Stoffel (Inactive) made changes -
            Fix Version/s 22.11.01 [ 28458 ]
            toddstoffel Todd Stoffel (Inactive) made changes -
            Sprint 2022-22 [ 672 ]
            toddstoffel Todd Stoffel (Inactive) made changes -
            Rank Ranked lower
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Description "Where this join query hangs forever on the master node, but runs fine on the replicas"
            {NOFORMAT}
            SELECT ff.acct_id, COUNT(1)
            FROM ff JOIN dd ON ff.acct_sk =dd.acct_sk
            AND ff.db_source_sk =dd.db_source_sk
            GROUP BY ff.acct_id LIMIT 10;
            {NOFORMAT}
            "Where this join query hangs forever on the master node, but runs fine on the replicas"
            {NOFORMAT}
            SELECT ff.acct_id, COUNT(1)
            FROM ff JOIN dd ON ff.acct_sk =dd.acct_sk
            AND ff.db_source_sk =dd.db_source_sk
            GROUP BY ff.acct_id LIMIT 10;
            {NOFORMAT}




            {noformat}
            mariadb -e "create database test; use test;"

            mariadb test -e "CREATE TABLE `dd`( `acct_sk` INT(11) UNSIGNED NOT NULL, `acct_id` VARCHAR(128) NOT NULL DEFAULT 'None', `db_source_sk` INT(11) UNSIGNED NOT NULL) ENGINE=Columnstore DEFAULT CHARSET=utf8mb4;"
            mariadb test -e "CREATE TABLE `ff` ( `db_source_sk` INT(11) UNSIGNED NOT NULL, `acct_id` VARCHAR(128) NOT NULL DEFAULT 'None', `acct_sk` INT(11) UNSIGNED NOT NULL DEFAULT 0 ) ENGINE=Columnstore DEFAULT CHARSET=utf8mb4;"

            mariadb test -e "INSERT INTO dd SELECT ROUND(RAND() * 10, 2), substring(MD5(RAND()),1,1), ROUND(RAND() * 100, 2) FROM seq_1_to_300000; "
            mariadb test -e "INSERT INTO ff SELECT ROUND(RAND() * 10, 2), substring(MD5(RAND()),1,1), ROUND(RAND() * 100, 2) FROM seq_1_to_300000;"

            {noformat}
            ccalender Chris Calender (Inactive) made changes -
            Summary CS Cluster: After software update from 6.x to 22.08, queries hang on one node MCS Cluster: After software update from 6.x to 22.08, queries hang on one node
            drrtuy Roman made changes -
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Status In Progress [ 3 ] In Testing [ 10301 ]
            dleeyh Daniel Lee (Inactive) made changes -
            Fix Version/s 22.08.3 [ 28456 ]
            Fix Version/s 22.11.01 [ 28458 ]
            drrtuy Roman made changes -
            Assignee Roman [ drrtuy ] Daniel Lee [ dleeyh ]
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Assignee Daniel Lee [ dleeyh ] Roman [ drrtuy ]
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Assigned for Testing Daniel Lee [ dleeyh ]
            dleeyh Daniel Lee (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status In Testing [ 10301 ] Closed [ 6 ]
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Fix Version/s 22.08.5 [ 28533 ]
            Fix Version/s 22.08.3 [ 28456 ]
            drrtuy Roman made changes -
            alexey.vorovich alexey vorovich (Inactive) made changes -
            Fix Version/s 22.08.3 [ 28456 ]
            Fix Version/s 22.08.5 [ 28533 ]
            tntnatbry Gagan Goel (Inactive) made changes -
            Labels triage cluster triage
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 175578 127889

            People

              drrtuy Roman
              edward Edward Stoever
              Daniel Lee Daniel Lee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 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.