Log messages regarding chunks not very informative when the shard key is of type BinData

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When the data type of the shard key is BinData, log messages regarding chunk limits and split keys are not very informative since BinData keys are printed in abbreviated form like:

      { _id: BinData } --> { _id: BinData }
      

      If, on the other hand, the type of the shard key is say a number, the log messages are useful:

      { _id: 103 } --> { _id: 206 }
      

      This truncation of BinData in the log messages makes it difficult to track sharding problems when BinData is used as a shard key.

            Assignee:
            Greg Studer (Inactive)
            Reporter:
            Johan Hedin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: