Bug 1167950
| Summary: | Cannot sync puppet-chef rpms from packagecloud.io. BSON document too large (16968021 bytes) | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Brian Bouterse <bmbouter> |
| Component: | async/tasks | Assignee: | pulp-bugs |
| Status: | CLOSED WONTFIX | QA Contact: | pulp-qe-list |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Master | CC: | mhrivnak |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-25 22:10:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brian Bouterse
2014-11-25 17:04:13 UTC
I downloaded private-chef-11.2.2-1.el6.x86_64.rpm from that repo. The RPM alone is 551MB. It contains 79,292 individual files. That is a LOT and is definitely not a normal use case for a single RPM. The filelist alone is about 7.9MB of XML. Pulp stores the file list (and all other metadata) in two copies: xml, and native BSON structures. So that's about 15.8MB of just file listings, which is getting real close to the BSON document max size. Here is mongo's reasoning for their limit: http://docs.mongodb.org/manual/reference/limits/#BSON-Document-Size For now, the effort it would take for pulp to accommodate storing such large metadata would be substantial, with little payoff. While we want to support your use case, and we recognize it is important to you, it currently falls in the small set of outliers that aren't worth investing in as a project. |