Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85941

Improve discovery of routing information for views

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      Suppose there exists a chain of views between 10 and 20 views in length (i.e. view1 is a view on view2 is a view on ... viewN) (as is the case in views_validation.js). In a sharded cluster, an aggregate against such a chain of views may initially fail with a 'StaleConfig' error (but subsequently succeed on a retry) because it will exceed the maximum of 10 StaleConfig retries for each view that it doesn't have routing information for.

      This ticket tracks the work to improve this so that such an aggregate does not have to be retried (once such way is to track views in the sharding catalog, another way is for shards to be aware of the views that they own).

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: