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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.9.1
    • Component/s: Geo, Index Maintenance, Sharding
    • None
    • ALL

      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.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            christian.tonhaeuser@navteq.com Christian Tonhäuser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: