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

Rename enum values to opt in/out of stable API

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Query Optimization 2021-07-12, Query Optimization 2021-07-26, QO 2021-09-06, Query Optimization 2021-08-09, QO 2021-09-20, QO 2021-10-04, QO 2021-10-18, QO 2021-08-23

      During code review for SERVER-58076 we came up with some ideas to improve the clarity of their meaning and intended use:

      1. Rename 'kSometimes' to 'kConditionally'
      2. For 'kNeverInVersion1', James wondered:

        How will this enum change when we introduce API version 2? I wonder if "kNeverInVersion1" should be "kNotAllowedInVersionedApi" rather than referring to a specific version #?"

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: