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

Windows : mtr output on is messed up with large MTR_PARALLEL

Details

    Description

      e.g https://buildbot.mariadb.org/#/builders/234/builds/22349/steps/9/logs/stdio contains

      innodb.monitor 'innodb'                  w6 [ pass ]    188
      main.last_value                          w18 main.information_schema_tables           w11 [ pass ]    455
      

      Attachments

        Activity

          I thought it's not windows-specific

          serg Sergei Golubchik added a comment - I thought it's not windows-specific
          wlad Vladislav Vaintroub added a comment - - edited

          serg,I thought it is stdout line-buffering specific, which is not working on stdio file handles on Windows.
          Based on what I tried this far, perl does not interleave "print" output, but on Linux does not interleave lines, because it outputs only full lines for stdout.
          i.e if one thread/process does

          print "a1"; print "b2\n";

          , and another one

          print "c3"; print "d4\n"


          on Linux it will print out lines with "a1b2" and "c3d4", whereas on Windows it can also spit "a1c3b2" and "d4"

          This can depend on redirection and what not, but I believe so far the complaints were mostly about Windows.

          wlad Vladislav Vaintroub added a comment - - edited serg ,I thought it is stdout line-buffering specific, which is not working on stdio file handles on Windows. Based on what I tried this far, perl does not interleave "print" output, but on Linux does not interleave lines , because it outputs only full lines for stdout. i.e if one thread/process does print "a1"; print "b2\n"; , and another one print "c3"; print "d4\n" on Linux it will print out lines with "a1b2" and "c3d4", whereas on Windows it can also spit "a1c3b2" and "d4" This can depend on redirection and what not, but I believe so far the complaints were mostly about Windows.

          People

            wlad Vladislav Vaintroub
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.