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

add support for readConcern to explain

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

      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@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: