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

InnoDB: Failing assertion: space->n_pending_ops == 0

    Details

      Description

      When a tablespace is being removed from the InnoDB tablespace cache, we occasionally have an assertion failing in 10.2:

      2017-04-27 10:38:42 0x4538  InnoDB: Assertion failure in file D:\win32-debug\build\src\storage\innobase\fil\fil0fil.cc line 2875
      InnoDB: Failing assertion: space->n_pending_ops == 0
      

      This has failed at least twice in 10.2:
      non-debug x86, Debian Stretch
      debug x86, Microsoft Windows

      The likely cause is the MDEV-12428 fix, which allows I/O threads to increment the fil_space_t::n_pending_ops count even after the tablespace has been marked for dropping.

      We must review the code also in 10.1 before the 10.1.23 release.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marko Marko Mäkelä
                Reporter:
                marko Marko Mäkelä
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: