Commit 272c05df authored by Sergei Petrunia's avatar Sergei Petrunia

Temporarily (?) disable read-free replication in MariaRocks

parent d4f6c77c
......@@ -10626,6 +10626,7 @@ void rdb_queue_save_stats_request()
rdb_bg_thread.request_save_stats();
}
#ifdef MARIAROCKS_NOT_YET // MDEV-10976
void ha_rocksdb::rpl_before_delete_rows()
{
m_in_rpl_delete_rows= true;
......@@ -10646,6 +10647,7 @@ void ha_rocksdb::rpl_after_update_rows()
m_in_rpl_update_rows= false;
}
#endif // MARIAROCKS_NOT_YET
/**
@brief
Read Free Replication can be used or not. Returning False means
......
......@@ -978,12 +978,14 @@ class ha_rocksdb: public my_core::handler
void set_use_read_free_rpl(const char* whitelist);
void set_skip_unique_check_tables(const char* whitelist);
#ifdef MARIAROCKS_NOT_YET // MDEV-10976
public:
virtual void rpl_before_delete_rows() override;
virtual void rpl_after_delete_rows() override;
virtual void rpl_before_update_rows() override;
virtual void rpl_after_update_rows() override;
virtual bool use_read_free_rpl();
#endif // MARIAROCKS_NOT_YET
private:
/* Flags tracking if we are inside different replication operation */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment