Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment choose warehouse incorrectly #38

Open
VOID001 opened this issue May 26, 2021 · 0 comments
Open

Payment choose warehouse incorrectly #38

VOID001 opened this issue May 26, 2021 · 0 comments

Comments

@VOID001
Copy link

VOID001 commented May 26, 2021

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

@VOID001 VOID001 changed the title Payment choosing warehouse incorrectly Payment choose warehouse incorrectly May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant