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

Deflake and improve diagnostics in read_write_concern_defaults_metrics.js

    • Fully Compatible
    • ALL
    • v6.0
    • 11

      The error

      Error: Incorrect BSON length in element with field name '?' in object with unknown _id :
      

      while reading a large BSON is most likely because the file was not fully written to disk yet, but if not it's worrisome.
      1. retry reading few times, it doesn't affect test correctness
      2. improve the error log itself for better diag

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: