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

[4.0 -> main] Fix block time reporting log statement #1451

Merged
merged 9 commits into from
Jul 26, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 26, 2023

Fix issue with the tracking of block idle time.
Add producer name to the block time log statement.
Note: time logging trxs is now included in the success/fail time.

 Block #321409127 eosasia11111 trx idle: 253403us out of 340621us, success: 11, 11380us, fail: 10, 74407us, transient: 0, 0us, other: 1431us

Merges release/4.0 into main including #1434

Resolves #1360
Resolves #1417

@heifner heifner added the OCI Work exclusive to OCI team label Jul 26, 2023
trx_time_tracker start_trx(bool is_transient, fc::time_point now = fc::time_point::now()) {
assert(!paused);
add_other_time(now);
last_time_point = now;
Copy link
Contributor

Choose a reason for hiding this comment

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

this line not needed, already done in add_other_time.

@heifner heifner merged commit 98733ab into main Jul 26, 2023
21 checks passed
@heifner heifner deleted the GH-1417-blk-idle-main branch July 26, 2023 15:53
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.

Block trx idle not being reported correctly Add producer name to trx idle log message
3 participants