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

Add listCollections command functionality to 2.6 shell & client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.6.8
    • Storage
    • None
    • Minor Change

    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

              milkie@mongodb.com Eric Milkie
              milkie@mongodb.com Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: