Make error message that object doesn't have full shard key include the object fields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the compare method of ShardKeyPattern in shardkey.cpp, there are 2 assertion messages (10198 and 10199) for when the mongos encounters an object without the shard key. That error message reports only that there are fields of the shard key missing, with no information about what fields were provided. The message should the field names that are present (perhaps at a higher logging verbosity).

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: