Return IndexAlreadyExists for clustered index in IndexCatalogImpl validation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-01-24, Execution Team 2022-02-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now, there are several places in the code that check whether an index with "clustered" is valid (here and here). By the time we get to _doesSpecClonflictWithExisting, _isSpecOK should already have confirmed a spec with "clustered" is valid with the collection specifications (and thus the clustered index specifications if the collection is clustered)

       

      Additionally, IndexCatalogImpl::_doesSpecConflictWithExisting expects IndexAlreadyExists to be returned for indexes that already exist. Make this consistent for a clustered index

            Assignee:
            Haley Connelly
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: