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

fix(schema): Add index on visor_processing_actors.height #102

Closed
wants to merge 1 commit into from

Conversation

placer14
Copy link
Contributor

Note: This depends on https://github.com/filecoin-project/sentinel-visor/pull/74/files being merged to maintain sequential migrations.

Improve the storage.LeaseActors method which was taking a bit long to select over height.

@placer14 placer14 added the kind/enhancement Improvement to an existing feature label Oct 14, 2020
@placer14 placer14 self-assigned this Oct 14, 2020
@iand
Copy link
Contributor

iand commented Oct 14, 2020

Note I incorporated this in #96

Also you can't use CONCURRENT inside a migration since it runs in a transaction. I suggest we add the indexes by hand using CONCURRENT before migrating.

@placer14 placer14 closed this Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants