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

Append corruptRecords to validate results as an array rather than an object

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-01-25

      corruptRecords is currently appended to the validate results as an object.

      "corruptRecords" : {
      	"0" : NumberLong(1),
      	"1" : NumberLong(2)
      }
      

      It would make more sense to append it as an array.

      "corruptRecords" : [
      	NumberLong(1),
      	NumberLong(2)
      ]
      

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: