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

Remove the 'numCollections' field from dbHash's response

    • Minor Change
    • TIG D (12/11/15)
    • 0

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

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

              Created:
              Updated:
              Resolved: