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

chore: CON-1434 Increment metric in case of NiDkgTag mismatches #3329

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

eichhorl
Copy link
Contributor

@eichhorl eichhorl commented Jan 6, 2025

With #3039 we will start to serialize maps of the form (nidkg_tag, nidkg_transcript) as a vector of nidkg_transcripts. This is fine since the NiDkg tag is also part of the NiDkg transcript. More generally, the change makes the assumption nidkg_tag == nidkg_transcript.tag explicit.

As an extra pre-caution, this PR adds a log and metric to increase our confidence that this assumption already holds today (and thus that the change in #3039 is safe to roll out).

@eichhorl eichhorl requested a review from a team as a code owner January 6, 2025 10:26
@github-actions github-actions bot added the chore label Jan 6, 2025
@eichhorl eichhorl added this pull request to the merge queue Jan 7, 2025
Merged via the queue into master with commit 67cd0a7 Jan 7, 2025
25 checks passed
@eichhorl eichhorl deleted the eichhorl/nidkg-tag-observability branch January 7, 2025 12:52
daniel-wong-dfinity-org pushed a commit that referenced this pull request Jan 7, 2025
)

With #3039 we will start to serialize
maps of the form `(nidkg_tag, nidkg_transcript)` as a vector of
`nidkg_transcript`s. This is fine since the NiDkg tag is also part of
the NiDkg transcript. More generally, the change makes the assumption
`nidkg_tag == nidkg_transcript.tag` explicit.

As an extra pre-caution, this PR adds a log and metric to increase our
confidence that this assumption already holds today (and thus that the
change in #3039 is safe to roll out).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants