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

do_shutdown_server fails to detect server shutdown on Windows

    XMLWordPrintable

    Details

    • Sprint:
      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

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: