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

Excessive logging "Cannot close file ./test/FTS_xxx.ibd because of n pending operations and pending fsync

Details

    Description

      Within ~1 min test on current 10.6 with default log_warnings level I'm getting in the error log ~8500 records like this:

      2021-03-22  2:58:35 8 [Note] InnoDB: Cannot close file ./test/FTS_00000000000012c8_00000000000015f9_INDEX_1.ibd because of 0 pending operations and pending fsync
      2021-03-22  2:58:35 8 [Note] InnoDB: Cannot close file ./test/FTS_00000000000012c8_00000000000015f9_INDEX_2.ibd because of 0 pending operations and pending fsync
      2021-03-22  2:58:35 8 [Note] InnoDB: Cannot close file ./test/FTS_00000000000012c8_00000000000015f9_INDEX_4.ibd because of 0 pending operations and pending fsync
      2021-03-22  2:58:35 8 [Note] InnoDB: Cannot close file ./test/FTS_00000000000012c8_00000000000015f9_INDEX_5.ibd because of 1 pending operations and pending fsync
      2021-03-22  2:58:35 8 [Note] InnoDB: Cannot close file ./test/FTS_00000000000012c8_00000000000015f9_INDEX_6.ibd because of 0 pending operations and pending fsync
      ...
      

      10.5 seems to produce only those with "0 pending operations", so there are less of them, but still, ~4000 in a few-minute test. And these ones (with zero) are especially confusing.

      I think if these are real problems which a user needs to take care of, there should be warnings or errors (and given the persistence, maybe we are missing at least a debug assertion or something); and if these are just technical notifications, there shouldn't be so many of them.

      Attachments

        1. screenshot-2.png
          screenshot-2.png
          35 kB
        2. screenshot-1.png
          screenshot-1.png
          19 kB
        3. mysql-0-20211028.log
          219 kB
        4. mycnf.txt
          2 kB
        5. cannotclosefile.JPG
          cannotclosefile.JPG
          83 kB

        Issue Links

          Activity

            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 138229 113559
            marko Marko Mäkelä made changes -
            Roel Roel Van de Paar made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 120330 ] MariaDB v4 [ 159063 ]
            ralfbecker Ralf Becker made changes -
            Attachment mysql-0-20211028.log [ 60054 ]
            Roel Roel Van de Paar made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            bbancroft Bryan Bancroft (Inactive) made changes -
            digdilem Simon Avery made changes -
            Attachment screenshot-2.png [ 59650 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.5.13 [ 26026 ]
            Fix Version/s 10.6.5 [ 26034 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Resolution Fixed [ 1 ]
            Status Confirmed [ 10101 ] Closed [ 6 ]
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2021-09-30 07:40:16.0 2021-09-30 07:40:16.078
            marko Marko Mäkelä made changes -
            Component/s Full-text Search [ 10104 ]
            Fix Version/s 10.6 [ 24028 ]
            Labels regression-10.5
            marko Marko Mäkelä made changes -
            julien.fritsch Julien Fritsch made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            digdilem Simon Avery made changes -
            Attachment mycnf.txt [ 59113 ]
            digdilem Simon Avery made changes -
            Attachment cannotclosefile.JPG [ 59112 ]
            elenst Elena Stepanova made changes -
            Assignee Elena Stepanova [ elenst ] Marko Mäkelä [ marko ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Marko Mäkelä [ marko ] Elena Stepanova [ elenst ]
            digdilem Simon Avery made changes -
            Field Original Value New Value
            Attachment screenshot-1.png [ 58600 ]
            elenst Elena Stepanova created issue -

            People

              marko Marko Mäkelä
              elenst Elena Stepanova
              Votes:
              4 Vote for this issue
              Watchers:
              11 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.