Closed petermattis closed 6 years ago
@arjunravinarayan This is related to fleshing out the consistency checks and would be another level of sanity checking that we should perform.
SGTM.
O_ALL_LOCAL
can be used to verify that approximately 10% of all orders contain at least one remote order-line. (9.2.2.9)S_YTD
, S_ORDER_CNT
, S_REMOTE_CNT
, C_PAYMENT_CNT
(also 9.2.2.9).This is all set except for the 9.2.2.9 checks. I propose not adding those because a) they're kind of vague and b) the TPC-C spec makes them sound optional ("The auditor can further verify the compliance..."). Any objections?
The TPC-C spec has sanity checks on the randomized txns (9.2.2.5):
We should add metrics to track the above and output these metrics when the test ends along with an indication of whether we met the requirements.