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

Remove useless BSONVersion enum class

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 4.7.0
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2020-06-29, Execution Team 2020-07-13

      Description

      We currently pass a BSONVersion argument to BSONValidate, but it has not been used since bumping the featureCompatibilityVersion to 3.6 in June 2017, commit r3.5.8-145-g67500efdc1. That commit removed the use of code depending on BSONVersion::kV1_0. So, remove this enum altogether including from all callers.

        Attachments

          Activity

            People

            Assignee:
            fausto.leyva Fausto Leyva (Inactive)
            Reporter:
            geert.bosch Geert Bosch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: