Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5844

Adjust error codes for when we detect files that are too small to contain a descriptor block

    • 3
    • Storage Engines 2020-03-23

      We recently made a change in WT-5786 to return ENOENT if we found files that are too small to contain a descriptor block in order for WiredTiger to get past rollback to stable and start properly so that MongoDB can run verify/salvage on a database.

      There's been some fallout in wt_corrupt_file_errors.js since MongoDB is quite specific about what error codes it gets back from WiredTiger and reacts differently on each one. We should maybe negotiate with server to agree on what each value means, but for the time being we should mimic what we were returning before to get the patch closer to green.

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: