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

Parallel replication incorrectly caches charset between worker threads

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.10
    • 10.0.11
    • None
    • None

    Description

      As reported by nanyi607rao on maria-developers@lists.launchpad.net:

      > If character_set in different Query_log_events changed, worker threads may
      apply them with wrong character_set. the codes leading this problem is in
      Query_log_event::do_apply_event, that is:
      > if (charset_inited)
      > {
      > if (rli->cached_charset_compare(charset))

      Clearly, the rli cannot be used to cache charset between Queries when parallel
      replication is used.

      Probably the solution is to move the cached_charset stuff from Relay_log_info
      into rpl_group_info.

      Attachments

        Issue Links

          Activity

            People

              knielsen Kristian Nielsen
              knielsen Kristian Nielsen
              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.