mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-27 20:43:57 +00:00
Fix pessimistic transaction replication asserting at Handler::MarkNoop() not overridden
This commit is contained in:
parent
9058fd037c
commit
8c2456e5e0
|
@ -997,6 +997,9 @@ Status PessimisticTransaction::LockBatch(WriteBatch* batch,
|
|||
RecordKey(column_family_id, key);
|
||||
return Status::OK();
|
||||
}
|
||||
Status MarkNoop(bool /*empty_batch*/) override {
|
||||
return rocksdb::Status::OK();
|
||||
}
|
||||
};
|
||||
|
||||
// Iterating on this handler will add all keys in this batch into keys
|
||||
|
|
Loading…
Reference in a new issue