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

Remove the 'numCollections' field from dbHash's response

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: Internal Code
    • Labels:

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: