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

.mariadb_history rename race condition

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    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:

              Git Integration

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