CollectionQueryInfo should be initialized for collections created via openCollection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Execution Team 2023-03-06, Execution Team 2023-03-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now we only initialize CollectionQueryInfo for a collection if it's not being initialized from an existing collection. But this means collections created via CollectionCatalog::openCollection won't have an initialized CollectionQueryInfo, so if CollectionQueryInfo::getIndexKeys() is called on such a collection, it will return wrong information.

      We should verify with a test that there's a bug here, and then fix it if it's confirmed to be a bug.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: