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

Port MyRocks' Read Free Replication to MariaRocks

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Read-Free Replication is a feature in MyRocks.
      Starts with this commit,

      https://github.com/facebook/mysql-5.6/commit/977f684a0290cad30bcf1ba1f875ecd521eacbb1
      Read Free Replication support in MyRocks

      followed by other fixes.

      Attachments

        Issue Links

          Activity

            See also
            https://github.com/facebook/mysql-5.6/commit/344f7bd9f1076192ebcac26b8ab7ca51d8bbe9e3
            Add Tokutek's read-free replication api in mysqld

            At the moment, MariaDB doesn't support the API. TokuDB's source code has calls to that API, but they are #ifdef'ed away.
            Its the same with MariaRocks.

            psergey@psergey-desktop:~/dev-git/10.2-mariarocks-noc$ grep -irn rpl_before_update_rows *
            storage/tokudb/ha_tokudb.h:1047:    void rpl_before_update_rows();
            storage/tokudb/ha_tokudb.cc:8879:void ha_tokudb::rpl_before_update_rows() {
            storage/rocksdb/ha_rocksdb.h:1065:  virtual void rpl_before_update_rows() override;
            storage/rocksdb/ha_rocksdb.cc:11201:void ha_rocksdb::rpl_before_update_rows()
            

            psergey@psergey-desktop:~/dev-git/10.2-mariarocks-noc$ grep -irn rpl_before_delete_rows *
            storage/tokudb/ha_tokudb.h:1045:    void rpl_before_delete_rows();
            storage/tokudb/ha_tokudb.cc:8871:void ha_tokudb::rpl_before_delete_rows() {
            storage/rocksdb/ha_rocksdb.h:1063:  virtual void rpl_before_delete_rows() override;
            storage/rocksdb/ha_rocksdb.cc:11191:void ha_rocksdb::rpl_before_delete_rows()
            

            psergei Sergei Petrunia added a comment - See also https://github.com/facebook/mysql-5.6/commit/344f7bd9f1076192ebcac26b8ab7ca51d8bbe9e3 Add Tokutek's read-free replication api in mysqld At the moment, MariaDB doesn't support the API. TokuDB's source code has calls to that API, but they are #ifdef'ed away. Its the same with MariaRocks. psergey@psergey-desktop:~/dev-git/10.2-mariarocks-noc$ grep -irn rpl_before_update_rows * storage/tokudb/ha_tokudb.h:1047: void rpl_before_update_rows(); storage/tokudb/ha_tokudb.cc:8879:void ha_tokudb::rpl_before_update_rows() { storage/rocksdb/ha_rocksdb.h:1065: virtual void rpl_before_update_rows() override; storage/rocksdb/ha_rocksdb.cc:11201:void ha_rocksdb::rpl_before_update_rows() psergey@psergey-desktop:~/dev-git/10.2-mariarocks-noc$ grep -irn rpl_before_delete_rows * storage/tokudb/ha_tokudb.h:1045: void rpl_before_delete_rows(); storage/tokudb/ha_tokudb.cc:8871:void ha_tokudb::rpl_before_delete_rows() { storage/rocksdb/ha_rocksdb.h:1063: virtual void rpl_before_delete_rows() override; storage/rocksdb/ha_rocksdb.cc:11191:void ha_rocksdb::rpl_before_delete_rows()

            People

              Unassigned Unassigned
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.