Skip to content

[PR #6784/b6aaa239 backport][3.83] Fix RepositoryVersion.content query failing when >65K units#6786

Merged
dralley merged 1 commit into
3.83from
patchback/backports/3.83/b6aaa2398d779caeba439938dcddcf43a5490569/pr-6784
Jul 15, 2025
Merged

[PR #6784/b6aaa239 backport][3.83] Fix RepositoryVersion.content query failing when >65K units#6786
dralley merged 1 commit into
3.83from
patchback/backports/3.83/b6aaa2398d779caeba439938dcddcf43a5490569/pr-6784

Conversation

@patchback

@patchback patchback Bot commented Jul 15, 2025

Copy link
Copy Markdown

This is a backport of PR #6784 as merged into main (b6aaa23).

fixes: #6772

This is the orm magic breaks down to this sql:

SELECT *
FROM "core_content" 
WHERE "core_content"."pulp_id" IN (
    SELECT unnest(U0."content_ids") AS "cids" 
    FROM "core_repositoryversion" U0
    WHERE U0."pulp_id" = 01980713-3ed0-7f9a-b1f5-20e774f746ae
)

@dralley dralley merged commit abab1fb into 3.83 Jul 15, 2025
13 checks passed
@dralley dralley deleted the patchback/backports/3.83/b6aaa2398d779caeba439938dcddcf43a5490569/pr-6784 branch July 15, 2025 15:40
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.

2 participants