[SERVER-36210] Last stable Mongos not abiding by new .stats() behavior for nonexistent namespace Created: 20/Jul/18  Updated: 29/Oct/23  Resolved: 25/Jul/18

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

Type: Bug Priority: Major - P3
Reporter: Ben Judd Assignee: Ben Judd
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-29678 collStats should return ok:1 and all ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-07-30
Participants:
Linked BF Score: 26

 Description   

When calling .stats() on mongos in the sharding_last_stable_mongos_and_mixed_shards_8 for a NS that does not exist it will fail instead of returning the result of all 0s. This does not happen for up to date mongos.



 Comments   
Comment by Githook User [ 25/Jul/18 ]

Author:

{'username': 'Icantjuddle', 'name': 'Ben Judd', 'email': 'ben.judd@10gen.com'}

Message: SERVER-36210 Adapt sharding/stats test to be version aware as stats behavior has changed in > 4.0
Branch: master
https://github.com/mongodb/mongo/commit/f8dcc118e636778671a4550d4cf32d2908a0d7ad

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