Project

Profile

Help

Backport #9401

Backport #9266 "repository 'modify' touches all the content being added one by one" to 3.14.z

Added by dalley about 1 month ago. Updated 27 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Triaged:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 106
Quarter:

Description

Bulk touch feature of the BulkQuerySet should be used to reduce number of queries that are executed in the viewset handling the Repository Modify API.

Removing the iteration of the content in the viewset will require the task to determine if any of the content to be added doesn't exist. The task needs to raise a RuntimeError with a list of pulp_href's for the content that doesn't exist.


Related issues

Copied from Pulp - Issue #9266: repository 'modify' touches all the content being added one by oneCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 1f7ec240 View on GitHub
Added by dalley 28 days ago

Do bulk_touch instead of touching one by one

backports #9266. closes: #9401

(cherry picked from commit 4023fce)

History

#1 Updated by dalley about 1 month ago

  • Copied from Issue #9266: repository 'modify' touches all the content being added one by one added

#2 Updated by dalley about 1 month ago

  • Tracker changed from Issue to Backport
  • % Done set to 0
  • Severity deleted (3. High)
  • Groomed deleted (No)

#4 Updated by dalley about 1 month ago

  • Status changed from NEW to ASSIGNED

#5 Updated by dalley about 1 month ago

  • Assignee set to dalley

#6 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 105 to Sprint 106

#7 Updated by dalley 28 days ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by pulpbot 27 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF