Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18465

Simplify confusing warning message when index key generation for 2dsphere indices generates a large number of keys

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.3
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Fully Compatible
    • ALL

      The warning message currently looks like this:

      2015-05-13T16:13:51.178-0400 W INDEX    [conn1] insert of geo object generated lots of keys (300) consider creating larger buckets. obj={ _id: ObjectId('5553b07f03d305416fb48b3e'), a: [ 1.0, 2.0, 3.0, 4.0, 5.0 ], b: [ 1.0, 2.0, 3.0, 4.0, 5.0 ], c: [ 1.0, 2.0, 3.0 ], d: [ 1.0, 2.0, 3.0, 4.0 ], e: 1.0, f: { type: "Point", coordinates: [ 0.0, 0.0 ] } }
      

      We should not mention "creating larger buckets", as this does not correspond to an available index option and may confuse users.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: