Skip to content

Commit

Permalink
cherry pick change with index for reference ballot
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Sep 19, 2023
1 parent 50ca8e2 commit 2b1c6d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

See [RELEASE](./RELEASE.md) for workflow instructions.

## v1.1.7

### Improvements

- [#5038](https://github.com/spacemeshos/go-spacemesh/pull/5038) add index for faster query to refballot

there was a regression in proposal builder that started to use codepath that was used in different domain, which was executed once per runtime. now this is executed on every proposal creation and might be too slow.


## v1.1.6

### Upgrade information
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions sql/migrations/0004_ballots_index.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX ballots_by_atx_by_layer ON ballots (atx, layer asc);

0 comments on commit 2b1c6d9

Please sign in to comment.