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

[1.0-beta4] Log when block has no QCs #434

Merged
merged 4 commits into from
Jul 30, 2024
Merged

[1.0-beta4] Log when block has no QCs #434

merged 4 commits into from
Jul 30, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 29, 2024

Helpful to distinguish between only missing one vote or no votes making into a block.
Add log of all recevied blocks with qc claim, previous, and timestamp.

@heifner heifner added the OCI Work exclusive to OCI team label Jul 29, 2024
@ericpassmore
Copy link
Contributor

Note:start
group: LOGGING
category: INTERNALS
summary: Add logging when block has no QCs.
Note:end

@heifner heifner requested a review from greg7mdp July 30, 2024 17:30
@@ -3968,6 +3968,10 @@ struct controller_impl {
auto qc_ext = bsp_in->block->extract_extension<quorum_certificate_extension>();
const qc_t& received_qc = qc_ext.qc;

dlog("received block: #${bn} ${t} ${prod} ${id}, qc claim: ${qc}, previous: ${p}",
Copy link
Member

Choose a reason for hiding this comment

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

You can also log after line 3965 if the block does not contain a QC.

@heifner heifner requested a review from greg7mdp July 30, 2024 18:43
@heifner heifner merged commit 05024b4 into release/1.0-beta4 Jul 30, 2024
37 checks passed
@heifner heifner deleted the log-beta4 branch July 30, 2024 20:33
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.

4 participants