Skip to content

Payment choose warehouse incorrectly #38

Description

@VOID001

According to the TPCC spec, for payment transaction, the warehouse choosing rule is as follows:
image

So for any worker, the home warehouse should be fixed across a full run.

However in the code https://github.com/Percona-Lab/sysbench-tpcc/blob/master/tpcc_run.lua#L226, the home warehouse is selected randomly for each time we start a payment transaction.

I guess this might be a different implementation to TPC-C spec

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions