[SERVER-17087] Add listCollections command functionality to 2.6 shell & client Created: 28/Jan/15  Updated: 31/Mar/17  Resolved: 06/Feb/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 2.6.8

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-16932 Don't let 2.6 replset member initial ... Closed
is duplicated by SERVER-17188 2.6 mongodump cannot read from 3.0 us... Closed
is duplicated by SERVER-16933 Warn if 2.6 shell is connected to a m... Closed
Related
related to DOCS-6377 Initial sync is not compatible betwee... Closed
Tested
Backwards Compatibility: Minor Change
Participants:
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.



 Comments   
Comment by Githook User [ 04/Jan/16 ]

Author:

{u'username': u'Boomtime', u'name': u'Boomtime', u'email': u'andrew.ryder@10gen.com'}

Message: Update fact-3.0-downgrade-path.rst

DOCS-6377 final agreed change
HELP-1450 for discussion
SERVER-17087 for the danger

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.0
https://github.com/mongodb/docs/commit/1c12473ad73a1831b51335d325e92574e296aa18

Comment by Githook User [ 04/Jan/16 ]

Author:

{u'username': u'Boomtime', u'name': u'Boomtime', u'email': u'andrew.ryder@10gen.com'}

Message: Update fact-3.0-downgrade-path.rst

DOCS-6377 final agreed change
HELP-1450 for discussion
SERVER-17087 for the danger

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/1a64ae9aaa5ce702c5e1b9f286482e93a330f064

Comment by Githook User [ 06/Feb/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-17087 Add listCollections command functionality to shell and client
Branch: v2.6
https://github.com/mongodb/mongo/commit/1b64aa84b80913a38928ac3aad9673fe7f570880

Generated at Thu Feb 08 03:43:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.