Skip to content

Commit

Permalink
Merge #39095
Browse files Browse the repository at this point in the history
39095: workload/tpcc: perform checks atomically, optionally historically and separately r=ajwerner a=ajwerner

This PR comes in two commits. The first makes the TPC-C checks each occur atomically either by using a single transaction or by selecting a timestamp and running all statements at that timestamp using AOST. In addition that commit allows the checks to be run historically.

The second commit adds a workload Generator to run the checks as a stand-alone workload.

Co-authored-by: Andrew Werner <[email protected]>
  • Loading branch information
craig[bot] and ajwerner committed Jul 30, 2019
2 parents 634dc24 + 04013f7 commit 25230d4
Show file tree
Hide file tree
Showing 4 changed files with 391 additions and 88 deletions.
1 change: 1 addition & 0 deletions pkg/ccl/workloadccl/allccl/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
_ "github.com/cockroachdb/cockroach/pkg/workload/rand"
_ "github.com/cockroachdb/cockroach/pkg/workload/sqlsmith"
_ "github.com/cockroachdb/cockroach/pkg/workload/tpcc"
_ "github.com/cockroachdb/cockroach/pkg/workload/tpccchecks"
_ "github.com/cockroachdb/cockroach/pkg/workload/tpcds"
_ "github.com/cockroachdb/cockroach/pkg/workload/tpch"
_ "github.com/cockroachdb/cockroach/pkg/workload/ycsb"
Expand Down
Loading

0 comments on commit 25230d4

Please sign in to comment.