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

Optimize Check for Parallel Replication Worker Thread Idleness

    XMLWordPrintable

Details

    Description

      Checking if the replication parallel workers are idle (rpl_parallel::workers_idle()) currently iterates through each parallel entry data structure, and locking each to view its last committed sub_id. This can be improved by using the pattern adopted in MDEV-30619 and comparing (rli->last_inuse_relaylog->queued_count == rli->last_inuse_relaylog->dequeued_count).

      This is a potential candidate for back-porting as well.

      Attachments

        Issue Links

          Activity

            People

              bnestere Brandon Nesterenko
              bnestere Brandon Nesterenko
              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.