Encode index ident into join plan cache node fingerprint and CachedJoinPlan

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we encode the index name for INLJ nodes in toCachedJoinPlan and after SERVER-130368, will also encode it as part of the index fingerprint. This requires us to reason about situations such as:
      index name is “foo” and key spec is {a: 1}, then drop and recreate index “foo” with key spec {b: 1}. Currently, we can reason through and see that there are safe guards for this but the uniquely generated ident would likely provide a better level of safety.

            Assignee:
            Unassigned
            Reporter:
            Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: