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

Validate should work with KeyString instead of BSON where possible

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2019-09-23, Execution Team 2019-10-07
    • 0

    Description

      Now that IndexAccessMethod::getKeys() returns KeyString::Value, the ValidateAdaptor should not convert from KeyString back to BSON in most places. Additionally, all of the code in IndexConsistency should use KeyString::Value instead of KeyString::Builder.

      In most cases KeyString only needs to be converted back to BSON when generating errors statues for users.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: