Issue #2747
closedRPM exceeds mongo document size limit if its filelist > ~15MB
Description
The reason is that Pulp stores filelist in the parsed form in db, with #723 there is more room for it then before (it was ~5-6MB at most), but still it is limited.
Here is a parsed filelist of rpm unit from `units_rpm` collection:
"files" : {
"file" : [
"/tmp/camel.txt"
],
"dir" : [ ]
}
I do not have any statistics on how many such repositories are there in the wild, so far we know at least one oVirt repo:
http://resources.ovirt.org/pub/ovirt-4.0/rpm/el7/
The RPM which causes troubles is `ovirt-engine-nodejs-modules`, version 0.0.8.
<package pkgid="dd58f5a72e38ebd6c1ef2ed2426276ae1255a7f8727cb6911b733a2820df9237" name="ovirt-engine-nodejs-modules" arch="x86_64">
<version epoch="0" ver="0.0.8" rel="1.el7"/>
Related issues
Updated by ttereshc over 7 years ago
- Related to Issue #723: RPMs with large number of files can exceed mongo document size limit added
Updated by ttereshc over 7 years ago
- Triaged changed from No to Yes
We are going to discuss on pulp-dev if/how to fix it and then details will be posted here.
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.