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

XMLWordPrintableJSON

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

      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 Stearn
            Reporter:
            Christian Tonhäuser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: