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

galera.wsrep_strict_ddl hangs in 10.5 after merge

Details

    Description

      after

      commit e9dbbf11204
      Author: Igor Babaev <igor@mariadb.com>
      Date:   Sat Jun 6 11:38:38 2020 -0700
       
          MDEV-22748 MariaDB crash on WITH RECURSIVE large query
      

      was merged into 10.5, galera.wsrep_strict_ddl started to fail, it times out because the test hangs on the line

      CREATE VIEW x1 AS SELECT * FROM before_t1;
      

      The first server gets stuck in this loop:

      bool st_select_lex::cleanup()
      {
        ...
        for (TABLE_LIST *tbl= get_table_list(); tbl; tbl= tbl->next_local)
        {
      

      and tbl == tbl->next_local, so it loops there forever.

      Nothing fails in 10.4, so presumably the fix was incorrectly merged into 10.5

      Attachments

        Issue Links

          Activity

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Description after
            {noformat}
            commit e9dbbf11204
            Author: Igor Babaev <igor@mariadb.com>
            Date: Sat Jun 6 11:38:38 2020 -0700

                MDEV-22748 MariaDB crash on WITH RECURSIVE large query
            {noformat}

            was merged into 10.5, {{galera.wsrep_strict_ddl}} started to fail, it times out because the test hangs on the line
            {code:sql}
            CREATE VIEW x1 AS SELECT * FROM before_t1;
            {code}
            The first server gets stuck in this loop:
            {code:cpp}
            bool st_select_lex::cleanup()
            {
              ...
              for (TABLE_LIST *tbl= get_table_list(); tbl; tbl= tbl->next_local)
              {
            {code}
            and {{tbl == tbl->next_local}}, so it loops there forever.
            after
            {noformat}
            commit e9dbbf11204
            Author: Igor Babaev <igor@mariadb.com>
            Date: Sat Jun 6 11:38:38 2020 -0700

                MDEV-22748 MariaDB crash on WITH RECURSIVE large query
            {noformat}

            was merged into 10.5, {{galera.wsrep_strict_ddl}} started to fail, it times out because the test hangs on the line
            {code:sql}
            CREATE VIEW x1 AS SELECT * FROM before_t1;
            {code}
            The first server gets stuck in this loop:
            {code:cpp}
            bool st_select_lex::cleanup()
            {
              ...
              for (TABLE_LIST *tbl= get_table_list(); tbl; tbl= tbl->next_local)
              {
            {code}
            and {{tbl == tbl->next_local}}, so it loops there forever.

            Nothing fails in 10.4, so presumably the fix was incorrectly merged into 10.5
            serg Sergei Golubchik made changes -
            Assignee Igor Babaev [ igor ]
            danblack Daniel Black made changes -
            marko Marko Mäkelä made changes -
            stepan.patryshev Stepan Patryshev (Inactive) made changes -
            Component/s Galera [ 10124 ]
            Component/s Tests [ 10800 ]
            stepan.patryshev Stepan Patryshev (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Assignee Igor Babaev [ igor ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            serg Sergei Golubchik made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.5.4 [ 24264 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            stepan.patryshev Stepan Patryshev (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 109949 ] MariaDB v4 [ 157951 ]

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.