Project

Profile

Help

Issue #1808

closed

exporting a sufficiently large repo with 'on_demand' policy results in BSON error

Added by cduryee almost 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.8.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 1
Quarter:

Description

If you attempt to export a repo with many RPMs, you'll get a BSON document too large error.

To repro:

  • create a large repo with "on_demand" policy, such as Fedora 23 everything
  • sync repo
  • create repo group with said repo
  • attempt to publish repo group

actual result:

BSON document too large error

expected result:

error that either a.) not all units are on-disk and repo/repo group cannot be exported, or b.) 'on_demand' repos cannot be exported

Also available in: Atom PDF