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

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

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

      $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.

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

              Created:
              Updated:
              Resolved: