[SERVER-35255] whole-cluster $changeStreams send listCollections to the config server for the 'admin' and/or 'config' databases Created: 25/May/18  Updated: 29/Oct/23  Resolved: 12/Jun/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 4.0.0-rc0
Fix Version/s: 4.0.0-rc6, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-34603 Aggregate commands which run locally ... Closed
Related
is related to SERVER-35369 The listCollections sent for aggregat... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Query 2018-06-18
Participants:
Linked BF Score: 34

 Description   

Since the namespace is empty, this ends up sending a listCollections with a garbage filter

{ listCollections: 1, filter: { name: "$cmd.aggregate" }} 

and also causes failures in the config stepdown suite, because the listCollections is sent over the legacy networking layer (DBClient) which does not have built-in retries on network errors.



 Comments   
Comment by Githook User [ 15/Jun/18 ]

Author:

{'username': 'nzolnierzmdb', 'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-35255: whole-cluster $changeStreams send listCollections to the config server for the 'admin' and/or 'config' databases

(cherry picked from commit 2a60402197dbbfe65894beaa54936bd657e7bf20)
Branch: v4.0
https://github.com/mongodb/mongo/commit/0a42e212a77bb187abc3c56795fda44abb49c3ea

Comment by Githook User [ 12/Jun/18 ]

Author:

{'username': 'nzolnierzmdb', 'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com'}

Message: SERVER-35255: whole-cluster $changeStreams send listCollections to the config server for the 'admin' and/or 'config' databases
Branch: master
https://github.com/mongodb/mongo/commit/2a60402197dbbfe65894beaa54936bd657e7bf20

Generated at Thu Feb 08 04:39:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.