[MDEV-10976] Port MyRocks' Read Free Replication to MariaRocks Created: 2016-10-07  Updated: 2017-05-27

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-9658 Make MyRocks in MariaDB stable Closed
Relates
relates to MDEV-7258 Read free replication for TokuDB Closed

 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.



 Comments   
Comment by Sergei Petrunia [ 2017-01-19 ]

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()

Generated at Thu Feb 08 07:46:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.