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

test galera.MDEV-16509 hangs if binlog is enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.6
    • None
    • Galera
    • None

    Description

      galera.MDEV-16509 has configuration to execute with binlogging disabled. However, if this test is forced to run with binlogging enbled, it will remain hanging.
      Reason for this is the use of debug sync point "wsrep_after_commit_order_leave", which stops a thread while having mutex LOCK_commit_ordered locked. During this locked state, another connections (ctrl) tries to read status variables from INFORMATION_SCHEMA.GLOBAL_STATUS, and this read operation tries to lock LOCK_commit_ordered mutex as well, hence a complete stall of the test execution.
      If reads from INFORMATION_SCHEMA.GLOBAL_STATUS are hacked to succeed without locking the LOCK_commit_ordered mutex, then the test "sort of passes", but the expectation of the test verify that wsrep_last_committed does not advance too early, is occasionally violated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            seppo Seppo Jaakola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.