MyRocks and Replication
There are certain details about how MyRocks works with Replication.
MyRocks and statement-based replication
Statement-based replication works as follows: SQL statements are executed on the master (possibly concurrently). They are written into the binlog (this fixes their ordering, "a serialization"). The slave then reads the binlog and executes the statements in their binlog order.
In order to prevent data drift, serial execution of statements on the slave must have the same effect as concurrent execution of these statements on the master. In other words, transaction isolation on the master must be close to SERIALIZABLE
transaction isolation level (This is not a strict mathematical proof but shows the idea).
InnoDB achieves this by (almost) supporting SERIALIZABLE
transactional isolation level. It does so by supporting "Gap Locks". MyRocks doesn't support SERIALIZABLE
isolation, and it doesn't support gap locks.
Because of that, generally one cannot use MyRocks and statement-based replication.