Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • N/A
    • Replication
    • None

    Description

      MySQL 5.6 implements delayed replication:
      https://dev.mysql.com/doc/refman/5.6/en/replication-delayed.html

      I am wondering if it's something easy to implement in MariaDB, and if it could work out with parallel replication.

      Attachments

        Issue Links

          Activity

            tanj Guillaume Lefranc created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Priority Trivial [ 5 ] Major [ 3 ]
            serg Sergei Golubchik made changes -
            Description MySQL 5.7 will implement delayed replication:
            https://dev.mysql.com/doc/refman/5.6/en/replication-delayed.html

            I am wondering if it's something easy to implement in MariaDB, and if it could work out with parallel replication.
            MySQL 5.6 implements delayed replication:
            https://dev.mysql.com/doc/refman/5.6/en/replication-delayed.html

            I am wondering if it's something easy to implement in MariaDB, and if it could work out with parallel replication.
            danblack Daniel Black added a comment -

            duplicate of MDEV-7145

            danblack Daniel Black added a comment - duplicate of MDEV-7145
            danblack Daniel Black made changes -
            sjmudd Simon Mudd added a comment - Related: http://bugs.mysql.com/80402
            elenst Elena Stepanova made changes -
            Component/s Replication [ 10100 ]
            Fix Version/s N/A [ 14700 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]

            > Related: http://bugs.mysql.com/80402

            That bug is about supporting delays with fractional seconds.

            The problem is that in the binlog format, we only know the event time on the
            master with integral second precision. So while we could wait for fractional
            seconds on the slave, it would be somewhat misleading since the actual delay
            is rounded on the master already.

            I do agree with the idea to warn about the rounding. However, I think this
            is a deeper issue in MySQL/MariaDB. For example, it is also possible to
            CHANGE MASTER TO master_port=3306.7. Or to insert a fractional value in an
            integer column. In neither case is a warning given, according to my tests...

            knielsen Kristian Nielsen added a comment - > Related: http://bugs.mysql.com/80402 That bug is about supporting delays with fractional seconds. The problem is that in the binlog format, we only know the event time on the master with integral second precision. So while we could wait for fractional seconds on the slave, it would be somewhat misleading since the actual delay is rounded on the master already. I do agree with the idea to warn about the rounding. However, I think this is a deeper issue in MySQL/MariaDB. For example, it is also possible to CHANGE MASTER TO master_port=3306.7. Or to insert a fractional value in an integer column. In neither case is a warning given, according to my tests...
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 70046 ] MariaDB v4 [ 132634 ]

            People

              Unassigned Unassigned
              tanj Guillaume Lefranc
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.