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

MariaDB and all slaves crash after INSERT to utf8_bin column(index)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.4.18
    • None
    • None
    • None
    • Ubuntu 18.4.5 & RHEL 8.3

    Description

      Looks like some INSERT or index update on column with utf8_bin cause server crash, changing collation to utf8 resolved issue.

      Some slaves was unable to start at all after crash, during crash recovery applying INSERT from relay_log with cause crash. Setting replicate-ignore-table and manually fixing any inconsistencies helps.

      Replication also stops with: Error 'Duplicate entry '1|26405' for key 'store_ids_code_uid'' on query. Default database: 'd_w3lngeyumys5ph'. Query: 'INSERT INTO `pohoda_stocks` SET `store_ids_code_uid` = '1|26405', `store_ids` = '1', `code` = '26405', `count` = '10', `countReceivedOrders` = '0', `reservation` = '0''

      Again skip error 1062 until all events are applied help.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lathander Jozef Kováč
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.