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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-10-17

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: