Project

Profile

Help

Issue #3813

closed

File Support - Issue #3770: Pulp 3 is about 2x slower than pulp 2 in syncing a large file repo

Pulp3 Artifacts are not compatible with bulk_save

Added by bmbouter almost 6 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Documentation, Performance
Sprint:
Sprint 40
Quarter:

Description

Motivation

Artifacts are not compatible with bulk_save() because they have a save() method which does not get called.

Solution

Add in documentation that plugin writers can use bulk_save with Artifacts, but they must have the file field be a path to the Artifact already in-place in the storage backend (content addressable storage).


Files

artifact_test.py (1.73 KB) artifact_test.py generate and save many Artifacts using bulk-create and individual save() bmbouter, 07/09/2018 10:59 PM

Also available in: Atom PDF