Actions
Issue #7483
closedRPM Copy API encounters timeouts when copying large quanitites of units
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 82
Quarter:
Description
With Katello, we are hitting issues with time-outs and request size limits when trying to copy 10s of thousands of content units via the RPM Copy API. To avoid workarounds like implementing our own "batching", it would be best if the RPM Copy API could accept multiple copy requests and do its own batching.
Updated by dalley over 4 years ago
- Sprint set to Sprint 81
The likely problem is the following lines: https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/app/viewsets.py#L317-L318
Wherein each content href is used to individually look up the corresponding content. 10,000 content = at least individual 10,000 queries being made within the span of the single request.
Updated by dalley over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dalley
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Updated by pulpbot about 4 years ago
Added by dalley about 4 years ago
Updated by dalley about 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 61bc08176e86abb2a33b447cf36beddcf87e2ca0.
Updated by dalley about 4 years ago
- Tracker changed from Story to Issue
- Subject changed from RPM Copy API should have some sort of batching for large requests to RPM Copy API encounters timeouts when copying large quanitites of units
- % Done changed from 100 to 0
- Severity set to 2. Medium
- Triaged set to No
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix requests timing out with large copy operations
[nocoverage]
Required PR: https://github.com/pulp/pulpcore/pull/927
closes: #7483 https://pulp.plan.io/issues/7483