Learn about Centmin Mod LEMP Stack today
Become a Member

MariaDB MariaDB 10.1.15 now available

Discussion in 'MariaDB & General MySQL news & discussions' started by Revenge, Jul 3, 2016.

  1. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    Just to warn people that uses Invision Power Suite, 10.1.15 have a bug that gives problems to the Stream Queries.
    I have opened a bug report in MariaDB Jira: [MDEV-10325] Queries examines all rows of a tables when it should not - JIRA
     
    • Informative Informative x 3
  2. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    thanks for heads up !
     
  3. tjk

    tjk Member

    74
    16
    8
    Jun 27, 2015
    Ratings:
    +25
    Local Time:
    4:31 PM
    What error and how do you reproduce it? I'm running 10.1.15 MariaDB and latest 4.1.12.3 IPS, and have not had any errors yet, at least that I can see. :)
     
  4. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    Check the bug i reported to MariaDB and the one i reported to Invision here: https://invisionpower.com/4bugtrack...for-regular-members-examines-all-rows-r11858/

    It only happens to the regular members, because the query has an extra condition to not show hidden posts. For some reason on 10.1.15 version, it simple f*cks up the query. Admins won't notice. I only noticed the next day when my members start saying the site was slower.

    You will also only notice if you have many posts. I have 1.6 Million, so its normal the query will take much time.
     
    • Informative Informative x 1
  5. Jimmy

    Jimmy Premium Member Premium Member

    1,026
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    4:31 PM
    1.13.x
    MariaDB 10.1.x
    I sure hope IPS fixes that, if it ends up being their issue and not MDBs issue.
     
  6. pamamolf

    pamamolf Well-Known Member

    2,498
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    11:31 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    I think also is IPB issue and not MariaDB issue....
     
  7. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    I believe its a MariaDB issue. The query worked fine for every version till now, and only in .15 is giving this bug.
     
  8. Jimmy

    Jimmy Premium Member Premium Member

    1,026
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    4:31 PM
    1.13.x
    MariaDB 10.1.x
    If it's not one thing, it's another with IPB. I sure wish they address the PHP7 issue... like yesterday. If it's MDB, hopefully we won't have to wait months for a fix.
     
  9. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    • Like Like x 1
  10. Jimmy

    Jimmy Premium Member Premium Member

    1,026
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    4:31 PM
    1.13.x
    MariaDB 10.1.x
    @Revenge you halted the release of a whole version. Congrats! (y)
     
    • Funny Funny x 2
  11. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    • Informative Informative x 4
  12. tjk

    tjk Member

    74
    16
    8
    Jun 27, 2015
    Ratings:
    +25
    Local Time:
    4:31 PM
    • Agree Agree x 3
    • Like Like x 1
  13. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    Matt from Invision have responded to my bug report:
    So he will monitor the bug report i created in MariaDB. If they do nothing about it in the next weeks, he will try to fix it in Invision side.
     
    • Informative Informative x 2
    • Like Like x 1
  14. Revenge

    Revenge Active Member

    287
    64
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +227
    Local Time:
    9:31 PM
    1.9.x
    10.1.x
    Another update. MariaDB changed the bug report to "Sprint 10.1.16". It think that means they will fix it.
     
    • Like Like x 1
  15. pamamolf

    pamamolf Well-Known Member

    2,498
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    11:31 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yup it looks like that they will fix it on the new version :)

    Just need t be tested when 10.1.16 is ou just to be sure :)
     
  16. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    Also another critical one in MariaDB 10.1.15 [MDEV-10333] MariaDb 10.1 crashes - JIRA

     
  17. tjk

    tjk Member

    74
    16
    8
    Jun 27, 2015
    Ratings:
    +25
    Local Time:
    4:31 PM
    I've been through this with MariaDB for almost 2 years now and their crappy buggy releases, would love to see Percona as an option in Centmin Mod!
     
  18. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    maybe one day, but MariaDB is here to stay for now at least :)

    MySQL, MariaDB or Percona upgrading should only be done after investigating critical bugs in their respective issue trackers usually. It's why I wait a while before updating usually.
     
    Last edited: Jul 6, 2016
    • Agree Agree x 1
  19. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    If you need to downgrade MariaDB 10.1.x branch to a specific MariaDB 10.1.x version like downgrading from MariaDB 10.1.15 to 10.1.14, you can follow these steps outlined on official site at https://centminmod.com/mysql.html#downgrade - pay attention to reverting the downgrade steps by restoring the backed up mariadb.repo file and doing a yum clean metadata + yum upgrade once MariaDB 10.1.16 is released. An illustrated example below.

    Downgrading MariaDB 10.1 To Specific MariaDB 10.1 Version


    • Important do a mysqldump backup to sql file for all your server's MySQL databases before trying this just to be safe !
    • And only downgrade within the same branch so within MariaDB 10.1.x to a specifc MariaDB 10.1.x version. DO NOT downgrade major branches like 10.1 to 10.0.
    Backup and edit MariaDB 10.1.x YUM repo file at /etc/yum.repos.d/mariadb.repo
    Code (Text):
    cp -a /etc/yum.repos.d/mariadb.repo /etc/yum.repos.d/mariadb.repo-origbak
    


    Below is an example on CentOS 7 64bit (denoted amd64 vs 32bit = x86) - so note the centos7 name. If on CentOS 6, you'd need to make sure references change from centos7 to centos6 for below edits and change 32bit OS to x86 from amd64 references.

    Then edit /etc/yum.repos.d/mariadb.repo

    from
    Code (Text):
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.0/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    exclude=MariaDB-Galera-server
    

    to - adding a name field for the specific MariaDB version i.e. 10.1.14 and edit baseurl to point to actual 10.1.14 version files
    Code (Text):
    [mariadb]
    name = MariaDB-10.1.14
    baseurl = https://downloads.mariadb.com/files/MariaDB/mariadb-10.1.14/yum/centos7-amd64/
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    exclude=MariaDB-Galera-server
    

    Then clean metadata and do a yum downgrade
    Code (Text):
    yum clean metadata
    yum downgrade MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared
    

    Example is downgrade from 10.1.14 to 10.1.13. Couldn't try with 10.1.15 to 10.1.14 as MariaDB has pulled the 10.1.15 release due to critical bugs discussed at MariaDB - MariaDB 10.1.15 now available | Centmin Mod Community
    Code (Text):
    yum downgrade MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared
    
    216 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package MariaDB-client.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-client.x86_64 0:10.1.14-1.el7.centos will be erased
    ---> Package MariaDB-common.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-common.x86_64 0:10.1.14-1.el7.centos will be erased
    ---> Package MariaDB-compat.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-compat.x86_64 0:10.1.14-1.el7.centos will be erased
    ---> Package MariaDB-devel.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-devel.x86_64 0:10.1.14-1.el7.centos will be erased
    ---> Package MariaDB-server.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-server.x86_64 0:10.1.14-1.el7.centos will be erased
    ---> Package MariaDB-shared.x86_64 0:10.1.13-1.el7.centos will be a downgrade
    ---> Package MariaDB-shared.x86_64 0:10.1.14-1.el7.centos will be erased
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================================================================================================================================================
     Package                                                        Arch                                                   Version                                                              Repository                                               Size
    ==========================================================================================================================================================================================================================================================
    Downgrading:
     MariaDB-client                                                 x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                  39 M
     MariaDB-common                                                 x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                  43 k
     MariaDB-compat                                                 x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                 1.4 M
     MariaDB-devel                                                  x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                 6.6 M
     MariaDB-server                                                 x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                  99 M
     MariaDB-shared                                                 x86_64                                                 10.1.13-1.el7.centos                                                 mariadb                                                 1.3 M
    
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Downgrade  6 Packages
    
    Total download size: 147 M
    Is this ok [y/d/N]:
    
     
    • Informative Informative x 1
  20. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI MariaDB Jira fixed issues for 10.1.16 I am tracking at Issue Navigator - JIRA for Blocked, Critical and Major category issues only.