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

ValidateAdaptor::validate() should return non-OK status if it fails.

    XMLWordPrintable

    Details

      Description

      RecordStoreV1Base::validate uses the adaptor's return value to determine if data is corrupted. So the adaptor should be able to return non-OK status.
      https://github.com/mongodb/mongo/blob/master/src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp#L735

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: