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

SHOW ENGINE INNODB STATUS reports I/O thread 0 state: (null) ((null))

    XMLWordPrintable

    Details

      Description

      The output of SHOW ENGINE INNODB STATUS includes a useless-looking section like the following:

      --------
      FILE I/O
      --------
      I/O thread 0 state: (null) ((null))
      I/O thread 1 state: (null) ((null))
      I/O thread 2 state: (null) ((null))
      I/O thread 3 state: (null) ((null))
      I/O thread 4 state: (null) ((null))
      I/O thread 5 state: (null) ((null))
      I/O thread 6 state: (null) ((null))
      I/O thread 7 state: (null) ((null))
      I/O thread 8 state: (null) ((null))
      I/O thread 9 state: (null) ((null))
      

      This output comes from the following code in srv_printf_innodb_monitor():

      	fputs("--------\n"
      	      "FILE I/O\n"
      	      "--------\n", file);
      	os_aio_print(file);
      

      The reason why the output is useless appears to be that the calls to srv_reset_io_thread_op_info() and srv_set_io_thread_op_info() were removed in MDEV-16264.

      I would suggest that we remove the above code as well as all references to srv_io_thread_op_info and srv_io_thread_function.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: