Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 10.0.7
    • Component/s: None
    • Labels:
      None

      Description

      The storage/xtradb in the MariaDB 10.0 tree is currently mostly a copy
      of the 5.5 code.

      Before we can release 10.0, we need to merge XtraDB with the new InnoDB from
      MySQL 5.6. XtraDB is the default InnoDB in MariaDB, and we need both the
      user-visible features from XtraDB to avoid regressions in upgrades to 10.0, as
      well as the general 5.6 improvements.

      We do not need to merge all changes in XtraDB. Just the ones that could
      reasonably be expected by users to remain. Some features of 5.5 XtraDB are
      reimplemented in 5.6 InnoDB, so we can drop the XtraDB ones or possibly
      implement config aliases etc. to remain compatible.

      Probably most/all of the merge can be taken from Percona Server 5.6.

      (I am logging this task mostly to ensure that we do not forget and end up
      releasing MariaDB 10.0 beta/ga without XtraDB functionality, so user's setups
      break in the upgrade due to unknown configuration options and such)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              pgnd pgnd added a comment -

              cmake -DWITH_XTRADB=1 -DWITHOUT_INNODB=1 ...
              ...
              CMake Warning:
              Manually-specified variables were not used by the project:

              WITHOUT_INNODB

              Should that instead be

              -DWITH_INNOBASE_STORAGE_ENGINE=0

              or
              -DWITH_INNOBASE=0

              ?

              Show
              pgnd pgnd added a comment - cmake -DWITH_XTRADB=1 -DWITHOUT_INNODB=1 ... ... CMake Warning: Manually-specified variables were not used by the project: WITHOUT_INNODB Should that instead be -DWITH_INNOBASE_STORAGE_ENGINE=0 or -DWITH_INNOBASE=0 ?
              Hide
              pgnd pgnd added a comment -

              fwiw,

              cd bld
              cmake -LAH .. | grep -i INNO | grep WITH
              WITH_INNOBASE_STORAGE_ENGINE:BOOL=ON

              Show
              pgnd pgnd added a comment - fwiw, cd bld cmake -LAH .. | grep -i INNO | grep WITH WITH_INNOBASE_STORAGE_ENGINE:BOOL=ON
              Hide
              serg Sergei Golubchik added a comment -

              Sorry, it should be -DWITHOUT_INNOBASE=1.

              Generally it's -DWITH_xxx=1 to force static linking for a plugin or -DWITHOUT_xxx=1 to exclude a plugin completely.

              Show
              serg Sergei Golubchik added a comment - Sorry, it should be -DWITHOUT_INNOBASE=1. Generally it's -DWITH_xxx=1 to force static linking for a plugin or -DWITHOUT_xxx=1 to exclude a plugin completely.
              Hide
              pgnd pgnd added a comment -

              fyi,

              cmake -DWITH_XTRADB=1 -DWITHOUT_INNOBASE=1 ...
              make
              make install
              systemctl restart mariadb
              mysqld -V && mysql -e "SHOW ENGINES;" | grep -i Inno
              mysqld Ver 10.0.8-MariaDB-log for Linux on x86_64 (Source distribution)
              InnoDB DEFAULT Percona-XtraDB, Supports transactions, row-level locking, and foreign keys YES YES YES

              so that appears to work as intended, thanks!

              comment: it'll be useful (eventually) to have

              cd bld
              cmake -LAH ..

              correctly report all available cmake options that are to be used. +1 on the 'self-documentation request'.

              > Generally it's -DWITH_xxx=1 to force static linking for a plugin or -DWITHOUT_xxx=1 to exclude a plugin completely.

              I missed that convention completely. Somewhere. Thanks!

              Show
              pgnd pgnd added a comment - fyi, cmake -DWITH_XTRADB=1 -DWITHOUT_INNOBASE=1 ... make make install systemctl restart mariadb mysqld -V && mysql -e "SHOW ENGINES;" | grep -i Inno mysqld Ver 10.0.8-MariaDB-log for Linux on x86_64 (Source distribution) InnoDB DEFAULT Percona-XtraDB, Supports transactions, row-level locking, and foreign keys YES YES YES so that appears to work as intended, thanks! comment: it'll be useful (eventually) to have cd bld cmake -LAH .. correctly report all available cmake options that are to be used. +1 on the 'self-documentation request'. > Generally it's -DWITH_xxx=1 to force static linking for a plugin or -DWITHOUT_xxx=1 to exclude a plugin completely. I missed that convention completely. Somewhere. Thanks!
              Hide
              serg Sergei Golubchik added a comment -

              about 'self-documentation request' and 'missed that convention': I'm fixed it recently (but not pushed yet), introducing a new set of options for plugins that are both shown in "cmake -LH" (and all cmake GUIs too) and also have a self-documented convention, which would be difficult to miss.

              Show
              serg Sergei Golubchik added a comment - about 'self-documentation request' and 'missed that convention': I'm fixed it recently (but not pushed yet), introducing a new set of options for plugins that are both shown in "cmake -LH" (and all cmake GUIs too) and also have a self-documented convention, which would be difficult to miss.

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  knielsen Kristian Nielsen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 week
                    1w