Encode SPM-4435 feature flag in plan cache key

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the SPM-4435 feature flag is changed at runtime, we run the risk of having plan cache collisions since the classic cache is not automatically cleared (SERVER-121528). This is unexpected and could cause issues.

      As a solution, we should encode our feature flags value in the plan cache key, and also change the letters we encode in canonical_query_encoder so they are distinct (currently they both can encode "s")

            Assignee:
            Matt Boros
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: