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

Add listCollections command functionality to 2.6 shell & client

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.8
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Case:

      Description

      Several places in the code make use of the listCollections functionality of the server C++ driver:

      • shell functionality
      • mongodump
      • cloner
      • replica set rollback
      • sharding migrate and shardCollection commands

      These areas will fail to function correctly if the source is a 2.6 mongod and the target is a 2.8 mongod running with the WiredTiger storage engine. The code attempts to scan system.namespaces with a query. Since the failure will be silent (it simply looks like there are no collections on the target), we should fix this in the 2.6 branch by adding support for the new 2.8 listCollections command to the 2.6 server C++ client.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: