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

sql_safe_updates breaks Galera 4

    XMLWordPrintable

    Details

      Description

      Built in Galera 4 cluster management is broken with sql_safe_updates enabled:

      2019-12-28  4:00:44 2 [Warning] WSREP: Wsrep_schema::execute_sql() failed, 1175 You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
      SQL: DELETE FROM mysql.wsrep_cluster
      2019-12-28  4:00:44 2 [Warning] WSREP: Failed to store view
      

      Also, instead of DELETE FROM, shouldn't it be TRUNCATE anyways?

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            darkain Vincent Milum Jr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: