Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport release-rogue] Add index on
quorum_proposals.leaf_hash
(#…
…2214) Add index on `quorum_proposals.leaf_hash` (#2208) 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) Co-authored-by: Jeb Bearer <jeb.bearer@gmail.com>
- Loading branch information