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

[Backport release-rogue] Add index on quorum_proposals.leaf_hash #2214

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Description

Backport of #2208 to release-rogue.

We look up by this column during state reconstruction, so we should
probably index it. The unique index will also prevent us from inserting
quorum proposals with different views but the same hash, which should not
be possible and would be a logic error if it happened.

(cherry picked from commit ee6f7d4)
@jbearer jbearer merged commit 4b9cd2a into release-rogue Oct 24, 2024
1 check passed
@jbearer jbearer deleted the backport-2208-to-release-rogue branch October 24, 2024 22:01
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.

1 participant