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

do_shutdown_server fails to detect server shutdown on Windows

Details

    • 10.2.0-3

    Description

      Many MTR tests restart the server in the middle either using shutdown_server [$timeout] directly, or using include files such as include/restart_mysqld.inc, which in turn call shutdown_server.

      shutdown_server command is handled by do_shutdown_server, which is supposed to keep checking whether the server is gone away, and proceed as soon as it's disappeared. Only on Windows it does not work – even though the server shuts down properly, mysqltest keeps waiting until the timeout is exceeded. As a result, tests which restart the server in the middle take much longer than they are supposed to.

      One of examples is innodb.innodb-autoinc. It takes 5 times longer on Windows because it waits three times, each time for 60 seconds.

      Attachments

        Activity

          elenst Elena Stepanova created issue -
          ratzpo Rasmus Johansson (Inactive) made changes -
          Field Original Value New Value
          Sprint 10.2.0-3 [ 27 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Rank Ranked higher

          The fix seems to reduce the win32-debug2 built/test to about 3 hours on an idle machine, which I believe is at least 1 hour less than before.

          https://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/8867

          wlad Vladislav Vaintroub added a comment - The fix seems to reduce the win32-debug2 built/test to about 3 hours on an idle machine, which I believe is at least 1 hour less than before. https://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/8867
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 10.0.24 [ 21101 ]
          Fix Version/s 10.1.11 [ 21202 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 73430 ] MariaDB v4 [ 149969 ]

          People

            wlad Vladislav Vaintroub
            elenst Elena Stepanova
            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.