Skip to content

ResourceStresser's IO1 & IO2 transactions never update any table rows when terminal=1 #199

@gogo9th

Description

@gogo9th

In ResourceStresserBenchmark.java, I think this line:

workers.add(new ResourceStresserWorker(this, i + 1, numKeys, keyRange));

. . . should be the following:

workers.add(new ResourceStresserWorker(this, i, numKeys, keyRange));.

Otherwise, IO1.java and IO2.java compute their starting primary key (empid) wrong:

int startingKey = myId * keyRange;

. . . and these two transactions will end up never updating any table rows when the .xml file's terminal = 1.

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