-
Notifications
You must be signed in to change notification settings - Fork 54
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
x-repo search cache rebuild first deletes all previous entries #1396
Labels
Comments
jctanner
added a commit
to jctanner/pulp_ansible
that referenced
this issue
Mar 23, 2023
fixes: pulp#1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner
added a commit
to jctanner/pulp_ansible
that referenced
this issue
Mar 23, 2023
fixes: pulp#1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner
added a commit
to jctanner/pulp_ansible
that referenced
this issue
Mar 23, 2023
fixes: pulp#1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner
added a commit
to jctanner/pulp_ansible
that referenced
this issue
Mar 23, 2023
fixes: pulp#1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner
added a commit
to jctanner/pulp_ansible
that referenced
this issue
Mar 23, 2023
fixes: pulp#1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
gerrod3
pushed a commit
that referenced
this issue
Mar 23, 2023
* Selectively delete removed content from the x-repo search index. fixes: #1396 Signed-off-by: James Tanner <tanner.jc@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
head once #1357 is merged
Describe the bug
x-repo search wipes out the entire cache for a repository with no repository version before repopulating it. Clients will see no results or fewer results while the cache rebuilds. We need to enhance that behavior to retain as many entries as possible without deleting them. This also affects "performance" in the sense that an upload or a sync will take a bit longer for a cache rebuild than is absolutely necessary.
To Reproduce
Upload a CV to a repository with a distro that points at the repository instead of a repository version.
Query the search endpoint to check the total count while the upload is processing.
Expected behavior
The total count in the results should remain at a consistent level.
Additional context
The text was updated successfully, but these errors were encountered: