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

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

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

      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

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: