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

add support for readConcern to explain

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Fully Compatible
    • Sharding 2017-08-21

    Description

      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.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: