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

Remove the 'numCollections' field from dbHash's response

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.1, 3.3.0
    • Internal Code
    • Minor Change
    • TIG D (12/11/15)
    • 0

    Description

      The 'numCollections' field in dbHash's response doesn't necessarily match the collection list that's returned because it a) doesn't factor in the filtering of system collections and b) it doesn't factor in the 'collections' filter list that the command can take.

      We should remove the numCollections field from the response (src/mongo/db/commands/dbhash.cpp) and update the JS tests that reference it (jstests/sharding/sync_cluster_config/sync2.js and jstests/concurrency/fsm_libs/cluster.js).

      Attachments

        Issue Links

          Activity

            People

              jonathan.abrahams Jonathan Abrahams
              kamran.khan Kamran K.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: