Bug 805196 - mongo error in log "key too large to index"
Summary: mongo error in log "key too large to index"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On: 795435 805616
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-20 16:28 UTC by James Slagle
Modified: 2012-05-25 14:15 UTC (History)
0 users

Fixed In Version:
Clone Of: 795435
Environment:
Last Closed: 2012-05-25 14:15:46 UTC
Embargoed:


Attachments (Terms of Use)

Description James Slagle 2012-03-20 16:28:12 UTC
+++ This bug was initially created as a clone of Bug #795435 +++

I see several occurrences of this error in /var/log/mongodb/mongodb.log.

Thu Jun 30 16:32:19 [conn17]  pulp_unittest.packages Btree::insert: key too large to index, skipping pulp_unittest.packages.$description_-1 861 { : "Oauth2 was originally forked from Leah Culver and Andy Smith's oauth.p..." }

It's not specific to this one package, there are lots of references to packages.$description as being too large to index.  I also see occurrences of repos.$packagegroups, probably because that also has a lengthy description.

This has the potential to fill up the mongo log, making it very hard to see errors you might care about, as well as fill up disk space.

We should look at excluding these keys from indexing.

--- Additional comment from jslagle on 2012-03-19 16:58:11 EDT ---

errata.description as well needs to be removed

Comment 1 James Slagle 2012-03-20 16:50:13 UTC
committed to pulp master 39e4843eddb3e31d25e9f1f0c447ae13d1d0064f

Comment 2 James Slagle 2012-03-21 18:03:41 UTC
additional commit to pulp master 2ecd2b4519431ad9b5b9dec93d29369ecb8e9447

Comment 3 Jeff Ortel 2012-04-12 22:59:15 UTC
build: 0.282

Comment 4 Preethi Thomas 2012-04-18 15:14:13 UTC
verified
[root@preethi-el6-pulp ~]# rpm -q pulp
pulp-0.0.283-1.el6.noarch


checked /var/log/mongodb/mongodb.log

Comment 5 Preethi Thomas 2012-05-25 14:15:46 UTC
Pulp v1.1 Release


Note You need to log in before you can comment on or make changes to this bug.