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

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

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • TIG 13 (04/22/16)

    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

            robert.guo@mongodb.com Robert Guo
            robert.guo@mongodb.com Robert Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: