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

[PH] Resolve Duplicate Transaction ID Generation in Transaction Generator #757

Conversation

ClaytonCalabrese
Copy link
Contributor

@ClaytonCalabrese ClaytonCalabrese commented Feb 27, 2023

Duplicate transaction IDs were possible to be generated by two different transaction generators creating transactions at the same time (epoch). This was more likely if the Action Data specified was blank, so it was mainly affecting the cpu and ram performance tests. This PR adds the transaction generator's _generator_id to the context free actions to prevent collision from happening in the future.

It also does a little rewrite of a loop to make it more readable.

@ClaytonCalabrese ClaytonCalabrese merged commit 62126c6 into feature_performance_harness_stage_2 Feb 28, 2023
@ClaytonCalabrese ClaytonCalabrese deleted the performance_harness_resolve_duplicate_transaction_ids branch February 28, 2023 16:36
@oschwaldp-oci oschwaldp-oci added the OCI Work exclusive to OCI team label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants