Skip to content

Conversation

@fabatef
Copy link
Contributor

@fabatef fabatef commented Jun 11, 2020

Forces task history search queries to use the hostUpadtedAt index for requests that only specify host and startedAt/updatedAt fields. These queries currently timeout intermittently since the hostUpdatedAt index isn't consistently chosen by the optimizer.

@ssalinas
Copy link
Member

Mentioned this to @baconmania , but documenting here as well. If we are adding something non-postgres-compatible, we should make this into an abstract method instead. It can be implemented only in the mysql version and essentially a no-op on the postgres side

@ssalinas
Copy link
Member

@baconmania will let you review here

@ssalinas
Copy link
Member

@fabatef can we get the merge conflicts resolved here at some point. Realized this one never actually made it through to stable

@ssalinas
Copy link
Member

🚢

@ssalinas ssalinas merged commit efbe4c8 into master Jul 17, 2020
@ssalinas ssalinas deleted the force-index-hostUpdatedAt branch July 17, 2020 15:17
@ssalinas ssalinas added this to the 1.3.0 milestone Sep 24, 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.

3 participants