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

trx_rseg_update_wsrep_checkpoint() writes excessive amount of redo log

    XMLWordPrintable

Details

    Description

      The function trx_rseg_update_wsrep_checkpoint() was modified as part of the Galera 4 merge. The following code is causing warning in GCC 8.2:

      	if (must_clear_rsegs) {
      		XID null_xid;
      		memset(&null_xid, 0, sizeof null_xid);
      		null_xid.null();
      

      Also, it is writing unnecessarily much redo log. 10.4 introduced the MLOG_MEMSET record, which should be used here. We should need that object null_xid at all.

      Attachments

        Activity

          People

            teemu.ollakka Teemu Ollakka
            marko Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.