Investigate whether functions in global_index_ddl_util should return a bool or throw

XMLWordPrintableJSON

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

      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 José Grillo Ramirez
              Reporter:
              Allison Easton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: