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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.1.3
    • Index Maintenance
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: