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

$indexStats doesn't include the "shard" field when run on unsharded collections

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5
    • 4.4.18, 5.0.14, 6.0.4, 6.2.0-rc6
    • None
    • None
    • Sharding NYC
    • Minor Change
    • ALL
    • v6.2, v6.0, v5.0, v4.4
    • 151

    Description

      $indexStats includes the "shard" field on version 4.2 when run on an unsharded collection (correct behavior). However on version 4.4 onwards the "shard" field is missing for unsharded collections even though it should be present.

      See comments for more info.

      Attachments

        Activity

          People

            tyler.brock@mongodb.com Tyler Brock
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: