Want to subscribe to topics you're interested in?
Become a Member

MariaDB MariaDB 10.4.12, 10.3.22 and 10.2.31, 10.1.44 and 5.5.67 now available

Discussion in 'MariaDB & General MySQL news & discussions' started by eva2000, Jan 29, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    54,389
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    4:22 PM
    1.9.x
    10.1.x
    Yesterday i updated to 10.4.12 from 10.4.11, and today i got the same issue twice.

    MariaDB crashes, it starts after the crash, and then it gets stuck here:

    Code:
    [Note] InnoDB: Read redo log up to LSN=1410431322624
    My only option was to force kill MariaDB process's, delete the two log files and start MariaDB again. It worked, and site was up without any bug.

    After some hours it happened again. Now im trying to figure it out, if it was coincidence or not.

    Journal is also being spammed with this messages:

    Code:
    Page [page id: space=6277, page number=30] log sequence number 1409649641062 is in the future! Current system log sequence number 1408897359163.
    2020-02-03 23:08:48 37 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/l
    I checked for this error and its caused by the crash, and the only way to fix it, is to backup and then restore the database.
     
    Last edited: Feb 4, 2020
  3. eva2000

    eva2000 Administrator Staff Member

    54,389
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks for the heads up. Looks like MariaDB 10.4 is still yet mature enough !
     
  4. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    4:22 PM
    1.9.x
    10.1.x
    And today it happened the third time.

    Its safe to revert to MariaDB 10.3? I know there was some big changes in 10.4.

    Or i could also revert to 10.4.11, if that's possible.
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,389
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    MariaDB 10.4 to 10.3 downgrade via mysqldump all databases on server including system database and restore to 10.3 should work. Oracle MySQL 8.0 on other hand doesn't support downgrades https://community.centminmod.com/th...pport-minor-version-downgrades-anymore.19002/
     
  6. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    4:22 PM
    1.9.x
    10.1.x
    Yes, i was thinking doing this:

    1. Mysqldump the whole database
    2. Remove MariaDB 10.4
    3. Install MariaDB 10.3
    4. Restore Mysql backup

    I also remember some years ago here in centminmod, that we found a bug and we reverted to the previous minor version. But i don't remember how to do that.
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,389
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    2:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    all databases and system database need backup and restore - not just the database for your web app
     
  8. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    4:22 PM
    1.9.x
    10.1.x
    Ok, thank you. I will try it first on a test server.
     
  9. Revenge

    Revenge Active Member

    469
    93
    28
    Feb 21, 2016
    Portugal
    Ratings:
    +354
    Local Time:
    4:22 PM
    1.9.x
    10.1.x
    Just to let everyone know, if someone also got this issue.

    Doing a mysqldump of the Databases(not including system databases) and restoring the backup, completely solved the issue. It was not necessary to revert to an old MariaDB version.