Add a warning to view creation if the collection lives outside the dbPrimary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      View performance is substantially worse on unsharded collections if the unsharded collection lives outside the dbPrimary (since views are located on the dbPrimary).

      SERVER-85230 will prevent the balancer from moving collections that already have views, but this does not prevent the user from creating a view after the collection has been moved off of the primary.

      This ticket is to issue a warning if the user creates a view on an unsharded collection living outside the dbPrimary telling the user about the decreased performance and suggesting using moveCollection to return the collection to the dbPrimary.

            Assignee:
            [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: