mirror of https://github.com/facebook/rocksdb.git
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);
|
RecordKey(column_family_id, key);
|
||||||
return Status::OK();
|
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
|
// Iterating on this handler will add all keys in this batch into keys
|
||||||
|
|
Loading…
Reference in New Issue