Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Add unique index for login #3893

Merged
merged 1 commit into from
Feb 25, 2019
Merged

Add unique index for login #3893

merged 1 commit into from
Feb 25, 2019

Conversation

goosemania
Copy link
Member

@pep8speaks
Copy link

Hello @goosemania! Thanks for submitting the PR.

Line 24:18: W606 'async' and 'await' are reserved keywords starting with Python 3.7

@goosemania
Copy link
Member Author

There is no migration but when user runs pulp-manage-db, new index is created if it's not there yet.
If there are duplicates in the DB, pulp-manage-db fails and user needs to remove duplicates manually.

Just to make sure that everyone is aware of that ^ situation.

@goosemania goosemania merged commit e5a22e1 into pulp:2-master Feb 25, 2019
mdellweg pushed a commit to ATIX-AG/pulp that referenced this pull request Mar 14, 2019
Results are written into a separate collection which is reused
every time the cleanup is run.
If there are millions of orphaned applicability profiles,
it's easy to exceed 16MB.

closes pulp#3893
https://pulp.plan.io/issues/3893
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants