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

Investigate whether functions in global_index_ddl_util should return a bool or throw

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Sharding EMEA 2022-10-17

      The functions in global_index_ddl_util will currently return false if the version is older than the one found on disk. This return value is currently not being used. We should investigate whether it is better to simply throw an error. These checks should not be hit by secondaries, so throwing would allow the command to fail on primaries and have the ddl coordinator handle it.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: