Refactor createIndexes to remove "timeseries-translated request"

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.3.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Initially, the timeseries support for createIndexes command was implemented by translating the request at the beginning (switching the NSS to the buckets collection + converting the index spec over buckets), with the idea that the remainder of the command can work over the translated version.

       

      However this was problematic because we did a first acquisition to do the timeseries translation, then released and re-acquired it a second time create the indexes, so the collection could be dropped and re-created in between. To fix this, SERVER-104712 unified both acquisitions and introduced an struct to contain the resolved index build request.

       

      With this in place, we should be able to remove the concept of "timeseries-translated request", and instead put the translated index specs directly into the resolved index build request.

            Assignee:
            Unassigned
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: