Operational Defect Database

BugZero found this defect 87 days ago.

MongoDB | 2585162

Tests that uses utils_sh.js helpers fail to run in sharding_jscore_passthrough_with_replica_set_endpoint suite

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

Tests that use helpers from utils_sh.js  fail to run in sharding_jscore_passthrough_with_replica_set_endpoint suite. The reason is that most of these helpers uses sh._adminCommand() function that internally calls sh._checkMongos(). Apparently, this function is throwing an error if we are connected through the replicaset endpoint.

Top User Comments

xgen-internal-githook commented on Mon, 11 Mar 2024 09:20:02 +0000: Author: {'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'} Message: SERVER-86955 Make _checkMongos check if TestData is undefined GitOrigin-RevId: b5e78ff07c32e47021b42679d77e2a2401e15f6d Branch: master https://github.com/mongodb/mongo/commit/fe27c73c88990c5f8dd667c347a7648ccf0de22e xgen-internal-githook commented on Sat, 9 Mar 2024 14:36:38 +0000: Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'} Message: SERVER-86955 Allow tests in core_sharding to run in replica set endpoint suites (#19767) GitOrigin-RevId: f42cbe66ff30bc076d135be361be173ab57be94a Branch: master https://github.com/mongodb/mongo/commit/54544b464b022e9c523206a15725098a8cabcd0e

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...