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

Make sure PlanCacheKeyCollectionState::version is the same on all shards

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution, Query Optimization
    • ALL
    • 5

      TL;DR PlanCacheKeyCollectionState::version may be different across shards to the same collection when sharded. This causes planCacheKeyHash to be different, which makes the test fail (as it expects hash to be the same).

      In case we assume this value should be the same for all shards and be kept in sync then we need to investigate why it is different and fix it, otherwise mark as "works as designed" and rewrite the test to not rely on this assumption.

      Detailed description of the problem could be found here

            Assignee:
            Unassigned Unassigned
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: