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

Two improper locking bugs in the method compress_write

Details

    Description

      Hi, developers, thank you for your checking. Does it seem the lock ctrl_mutex is not released correctly when writing to the destination stream fails and writing to the destination stream fails in the compress_write?

      This is similar to the lock data_mutex, which is acquired in a nearby place. It is not released when writing to the destination stream fails and writing to the destination stream fails in the compress_write.

      https://github.com/MariaDB/server/blob/10.9/extra/mariabackup/ds_compress.cc#L234-L261

      Thank you for your checking!

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Marko Mäkelä made transition -
            Open Needs Feedback
            2h 38m 1
            Marko Mäkelä made transition -
            Needs Feedback Open
            1d 4h 35m 1
            Marko Mäkelä made transition -
            Open Closed
            1m 40s 1
            Vladislav Vaintroub made transition -
            Closed Stalled
            41d 23h 52m 1
            Marko Mäkelä made transition -
            Stalled Closed
            5h 37m 1

            People

              marko Marko Mäkelä
              Ryan Ryan
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.