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

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

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            jhn Johan Hedin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: