Skip to content

Payment choose warehouse incorrectly #38

@VOID001

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions