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

.mariadb_history rename race condition

    XMLWordPrintable

Details

    • Not for ES Release Notes

    Description

      When you use multiple mariadb CLI's at the same time, for example using Terminator, and you exit the CLI, you will see in x-1 out of x screens (for example 3 out of 4) the following error:

      bin/mariadb: Error on rename of '~/.mariadb_history.TMP' to '~/.mariadb_history' (Errcode: 2 "No such file or directory")
      

      Possible solution: include a nanosec epoch (or a random number) in the rename or similar. Ideally the history would be kept intact also, besides fixing the bug.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            Roel Roel Van de Paar
            Sergei Golubchik Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 40m
                40m

                Git Integration

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