Closed luqun closed 11 months ago
Rdb_writebatch_impl is used in replication if rocksdb_skip_trx_api = 1. thus it should have same behavior as Rdb_transaction_impl.
After MyRocks DD, these Rdb_writebatch_impl member function will be used to access DD table through attachable transaction which break these asserts.
Remove these asserts and keep same assert as Rdb_transaction_impl member functions
@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
committed
Rdb_writebatch_impl is used in replication if rocksdb_skip_trx_api = 1. thus it should have same behavior as Rdb_transaction_impl.
After MyRocks DD, these Rdb_writebatch_impl member function will be used to access DD table through attachable transaction which break these asserts.
Remove these asserts and keep same assert as Rdb_transaction_impl member functions