Fix pessimistic transaction replication asserting at Handler::MarkNoop() not overridden

This commit is contained in:
KuDeSnik33ra 2024-07-30 12:54:09 +03:00
parent 9058fd037c
commit 8c2456e5e0
1 changed files with 3 additions and 0 deletions

View File

@ -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