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

[3.2] Report transaction failed if trx was exhausted in non-producing mode #1319

Merged
merged 4 commits into from
Jun 21, 2023

Conversation

greg7mdp
Copy link
Contributor

So we restart a speculative block to retry it immediately, instead of waiting to receive a new block.

Resolves #1247.

So we restart a speculative block to retry it immediately, instead of waiting to receive a new block
@greg7mdp greg7mdp requested a review from heifner June 20, 2023 18:07
@arhag arhag changed the base branch from main to release/3.2 June 20, 2023 18:12
plugins/producer_plugin/producer_plugin.cpp Outdated Show resolved Hide resolved
plugins/producer_plugin/producer_plugin.cpp Outdated Show resolved Hide resolved
plugins/producer_plugin/producer_plugin.cpp Outdated Show resolved Hide resolved
plugins/producer_plugin/producer_plugin.cpp Outdated Show resolved Hide resolved
@greg7mdp greg7mdp changed the title Report transaction failed if trx was exhausted in non-producing mode [3.2] Report transaction failed if trx was exhausted in non-producing mode Jun 21, 2023
exhausted = pr.block_exhausted;

if ( !in_producing_mode() && pr.trx_exhausted )
exhausted = true; // report transaction exhausted if trx was exhausted in non-producing mode (so we will restart
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the comments here.

@greg7mdp greg7mdp merged commit 5f763da into release/3.2 Jun 21, 2023
@greg7mdp greg7mdp deleted the gh-1247-3.2 branch June 21, 2023 18:08
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

Successfully merging this pull request may close these issues.

Exhausted speculative trx not retried
3 participants