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

Revert "Add indices to speed up conseil" #857

Merged
merged 5 commits into from
Jun 18, 2020

Conversation

leenpaws
Copy link
Contributor

Reverts #841, need to add more indices

sql/conseil.sql Outdated

--
-- Name: endorsing_rights_level_idx; Type: INDEX; Schema: tezos; Owner: -
--

CREATE INDEX endorsing_rights_level_idx ON tezos.endorsing_rights USING btree (level);
CREATE INDEX ix_delegate_slot ON tezos.endorsing_rights USING btree (delegate);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this actually correct? The name of the index contains slot but there is no slot in the actual definition.

Copy link
Contributor

@ivanopagano ivanopagano left a comment

Choose a reason for hiding this comment

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

A minor correction is due

src/main/scala/tech/cryptonomic/conseil/tezos/Tables.scala Outdated Show resolved Hide resolved
@vishakh vishakh merged commit 9054160 into release_2020_r3 Jun 18, 2020
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.

4 participants