Skip to content

Commit

Permalink
try to add taas_tikv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Star committed Jul 6, 2023
1 parent 316fbf9 commit cdf2d6a
Show file tree
Hide file tree
Showing 19 changed files with 5,282 additions and 59 deletions.
4 changes: 2 additions & 2 deletions cmd/go-ycsb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ import (
_ "github.com/pingcap/go-ycsb/db/etcd"
// Register dynamodb
_ "github.com/pingcap/go-ycsb/db/dynamodb"
// Register Taas-tikv
//_ "github.com/Mister-Star/go-ycsb/db/taas_tikv"
// Register taas-tikv
_ "github.com/Mister-Star/go-ycsb/db/taas_tikv"
)

var (
Expand Down
255 changes: 255 additions & 0 deletions db/proto/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions db/proto/client.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
syntax = "proto3";

package taas_proto;

option go_package = "./taas_proto";

import "transaction.proto";
import "node.proto";

message ClientReadRequest {
string client_ip = 1;
uint64 txn_id = 2;
repeated Row rows = 3;
}

message ClientReadResponse {
Result result = 1;
uint64 txn_id = 2;
repeated Row rows = 3;
}
Loading

0 comments on commit cdf2d6a

Please sign in to comment.