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

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: Index Maintenance
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

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

              Dates

              Created:
              Updated:
              Resolved: