add support for readConcern to explain

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • Sharding 2017-08-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Its a particular case of SERVER-29987. As a result the scenario

      coll.createIndex({x:1});
      coll.explain().find({x:1 });
      

      will may not the use the index if the explain goes to the secondary
      Enabling support for readConcern will make the explain command wait for the clusterTime of the createIndex result and hence will be able to see the updated schema.

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: