Skip to content

Commit

Permalink
[test][store] Add pessimistic lock unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
visualYJD authored and ketor committed Jul 15, 2024
1 parent 0218922 commit d266e3e
Show file tree
Hide file tree
Showing 2 changed files with 675 additions and 465 deletions.
2 changes: 1 addition & 1 deletion src/server/store_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ void DoTxnPessimisticLock(StoragePtr storage, google::protobuf::RpcController* c
}

std::vector<pb::common::KeyValue> kvs;
// yjddebug todo

status = storage->TxnPessimisticLock(ctx, mutations, request->primary_lock(), request->start_ts(),
request->lock_ttl(), request->for_update_ts(), true, kvs);
if (!status.ok()) {
Expand Down
Loading

0 comments on commit d266e3e

Please sign in to comment.