Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Consensus Logging #28176

Merged
merged 2 commits into from
Oct 4, 2022
Merged

Consensus Logging #28176

merged 2 commits into from
Oct 4, 2022

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Oct 2, 2022

Problem

Need more insight into DuplicateConfirmed/bank frozen versions

Summary of Changes

Fixes #

@@ -778,6 +778,25 @@ pub(crate) fn check_slot_agrees_with_cluster(
return;
}
}

datapoint_info!(
"duplicate_confirmed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets add one for Duplicate as well

@@ -2968,9 +2973,14 @@ impl ReplayStage {
// then there will be no blocks to include the votes for slot 4, and the network halts
// because 90% of validators can't vote
info!(
"Waiting to switch vote to {}, resetting to slot {:?} for now",
"Waiting to switch vote to {},
resetting to slot {:?} for now,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: might as well add threshold: total_stake * .38 to make the log complete

@carllin carllin merged commit 14a415c into solana-labs:master Oct 4, 2022
mergify bot pushed a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
mergify bot pushed a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
mergify bot pushed a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
carllin added a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
carllin added a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
carllin added a commit that referenced this pull request Oct 4, 2022
(cherry picked from commit 14a415c)
mergify bot added a commit that referenced this pull request Oct 4, 2022
Consensus Logging (#28176)

(cherry picked from commit 14a415c)

Co-authored-by: carllin <[email protected]>
mergify bot added a commit that referenced this pull request Oct 4, 2022
Consensus Logging (#28176)

(cherry picked from commit 14a415c)

Co-authored-by: carllin <[email protected]>
@willhickey
Copy link
Contributor

@Mergifyio backport v1.13

@mergify
Copy link
Contributor

mergify bot commented Oct 11, 2022

backport v1.13

✅ Backports have been created

willhickey added a commit that referenced this pull request Oct 11, 2022
* Consensus Logging (#28176)
* dereference bank_slot

Co-authored-by: carllin <[email protected]>
carllin added a commit to carllin/solana that referenced this pull request Oct 17, 2022
carllin added a commit to carllin/solana that referenced this pull request Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants