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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: