yugabyte / tpcc

Repo to run TPCC benchmarks against YugabyteDB
Other
24 stars 21 forks source link

Fix Invalid Procedure instance to be instantiate-able #83

Closed robertsami closed 3 years ago

robertsami commented 3 years ago

In https://github.com/yugabyte/tpcc/pull/80, we removed TPCCProcedure, and the Invalid stub class was changed to abstract since it no longer implemented all abstract methods in the base class. This meant it could not be instantiated during the execute phase of TPCC. For some reason, we instantiate an instance of this class during the execute phase no matter what. Without this change, an exception is thrown during instantiation, though it otherwise runs fine.