benchbase icon indicating copy to clipboard operation
benchbase copied to clipboard

Delivery transaction doesn't confirm TPC-C standard

Open eivanov89 opened this issue 1 year ago • 2 comments

Hi folks,

At @YDB we forked benchbase to implement TPC-C. Now we both share same bugs :)

Here you always iterate from 1 to terminalDistrictUpperID. It seems that original approach was to iterate from terminalDistrictLowerID (left unused) to terminalDistrictUpperID. It means that first terminal iterates districts from 1 to 2, next terminal - 1 to 3, ..., 1 to 10. But each terminal must iterate 1 to 10 according the standard (and I double checked TPC-C implementation in CockroachDB).

At YDB bugfix decreased tpmc by 4%. In my opinion, this bug is critical.

eivanov89 avatar Sep 18 '23 11:09 eivanov89