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

mariadb xtradb problem with innodb_buffer_pool_restore_at_startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.28
    • Fix Version/s: 5.5.28a
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      Hello!
      I download mariadb yesterday and get error with innodb options innodb_buffer_pool_restore_at_startup
      When i set it, i get in error log next messages :

      121030 10:25:40 InnoDB: Operating system error number 183 in a file operation.
      InnoDB: Some operating system error numbers are described at
      InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
      InnoDB: File name ib_lru_dump.tmp
      InnoDB: File operation call: 'rename'.

      In the datadir i see two files: "ib_lru_dump.tmp" and "ib_lru_dump"

      I am newby with mariadb, but i have some years expirience of using oracle and percona mysql. And i had never been seen such error: percona xtradb works well with buffer restore, even oracle mysql saves/restores innodb pages clearly.

      What is reason of problem? I missed something in cfg file or it's really bug?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            Elena, can you try to verify that? If you don't have Win64 handy, please reassign it to @wlad

            Show
            serg Sergei Golubchik added a comment - Elena, can you try to verify that? If you don't have Win64 handy, please reassign it to @wlad
            Hide
            elenst Elena Stepanova added a comment - - edited

            Very much reproducible on Windows 7 x64.

            • downloaded mariadb-5.5.28-winx64.zip;
            • unpacked;
            • cd-ed to the unpacked folder;
            • ran
              bin\mysqld --innodb_buffer_pool_restore_at_startup=1

            It creates ib_lru_dump on startup, and then starts updating ib_lru_dump.tmp complaining every 5 seconds as described above.
            The server remains available and, as it seems, functional (can connect and run queries).

            All permissions to the datadir are okay (new local datadir).

            Show
            elenst Elena Stepanova added a comment - - edited Very much reproducible on Windows 7 x64. downloaded mariadb-5.5.28-winx64.zip; unpacked; cd-ed to the unpacked folder; ran bin\mysqld --innodb_buffer_pool_restore_at_startup=1 It creates ib_lru_dump on startup, and then starts updating ib_lru_dump.tmp complaining every 5 seconds as described above. The server remains available and, as it seems, functional (can connect and run queries). All permissions to the datadir are okay (new local datadir).
            Hide
            serg Sergei Golubchik added a comment -

            is it only Win64 issue? not repeatable on Linux?

            Show
            serg Sergei Golubchik added a comment - is it only Win64 issue? not repeatable on Linux?
            Hide
            elenst Elena Stepanova added a comment - - edited

            Sorry, forgot to mention. Not repeatable on Ubuntu 11.10 oneiric x86_64.

            Show
            elenst Elena Stepanova added a comment - - edited Sorry, forgot to mention. Not repeatable on Ubuntu 11.10 oneiric x86_64.
            Hide
            wlad Vladislav Vaintroub added a comment -

            Operating system error 183 is ERROR_ALREADY_EXISTS

            Show
            wlad Vladislav Vaintroub added a comment - Operating system error 183 is ERROR_ALREADY_EXISTS
            Hide
            wlad Vladislav Vaintroub added a comment -

            @Oleg - the reason for this behavior is a real bug. To prevent message flood in the log file, I'd switch off innodb_buffer_pool_restore_at_startup until 5.5.29 release, where it is going to be fixed.

            Show
            wlad Vladislav Vaintroub added a comment - @Oleg - the reason for this behavior is a real bug. To prevent message flood in the log file, I'd switch off innodb_buffer_pool_restore_at_startup until 5.5.29 release, where it is going to be fixed.
            Hide
            boa Oleg added a comment -

            @Vladislav Vaintroub, thanks, will be waiting for 5.5.29 release)

            Show
            boa Oleg added a comment - @Vladislav Vaintroub, thanks, will be waiting for 5.5.29 release)

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                boa Oleg
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: