No need to loop over entire system.indexes collection when renaming a collection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.1.8
    • Component/s: Internal Code, MMAPv1
    • None
    • Query
    • QuInt A (10/12/15), QuInt B (11/02/15)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When renaming a collection, we have to update all the entries in the system.indexes collection that refer to the old name to instead refer to the new name. Currently, we loop over the entire system.indexes collection to do so. This is unnecessary as we have the RecordIds of each entry, so we can update them directly.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: