Project

Profile

Help

Issue #2568

closed

DocumentTooLarge error during merge of errata pkglists

Added by ttereshc almost 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.12.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 15
Quarter:

Description

In certain cases new collections are added to the erratum pkglist with every sync, so at some point pkglist becomes so long that the BSON document size limit is reached.

Conditions to end up in this situation:

  • an erratum synced with Pulp < 2.8.5
  • upgrade to Pulp >= 2.8.5 (errata merge implemented)
  • pkglist for the same erratum changed upstream before the first operational sync (after Pulp upgrade) was performed
  • any operational sync at this point will add one more collection to erratum

It may sound like a rare case but according to BZ it is not, probably because pkglists were changed for errata in EPEL7 repo which a lot of users have in their Pulp.
For example, pkglist for erratum FEDORA-EPEL-2016-f057025262 was changed.


Related issues

Related to RPM Support - Issue #2599: Deprecation warning in the logs during errata migrationCLOSED - CURRENTRELEASEttereshcActions
Has duplicate RPM Support - Issue #2738: Errata package list exceed mongod 16MB document size limit.CLOSED - DUPLICATEActions

Also available in: Atom PDF