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

Sharding on geo sometimes fails due to shard key being too big

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.9.1
    • Fix Version/s: None
    • Component/s: Geo, Index Maintenance, Sharding
    • Labels:
      None
    • Operating System:
      ALL

      Description

      When writing objects with big arrays of geo coords, the writes will often fail with "Shard Key must be less than 512 bytes" error message.
      This only happens in a sharded environment, obviously, when writing to e.g. a single replica set without sharding everything's fine.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              redbeard0531 Mathias Stearn
              Reporter:
              ctonhaeuser Christian Tonhäuser
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: