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

Activate index constraint on Task entity #424

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

zguesmi
Copy link
Member

@zguesmi zguesmi commented Sep 20, 2021

No description provided.

@zguesmi
Copy link
Member Author

zguesmi commented Sep 20, 2021

Fixes #423

@zguesmi zguesmi requested a review from a team September 20, 2021 15:38
Copy link
Contributor

@mcornaton mcornaton left a comment

Choose a reason for hiding this comment

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

👍

@zguesmi
Copy link
Member Author

zguesmi commented Sep 21, 2021

This log message appears in mongo after this fix which confirms that the constraint is activated.

[conn5] index build: starting on iexec.task properties: { v: 2, unique: true, key: { chainDealId: 1, taskIndex: 1 }, name: "unique_deal_idx", ns: "iexec.task" } using method: Hybrid

@zguesmi zguesmi merged commit a9e6fd6 into master Sep 21, 2021
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