[SERVER-80753] Modify runCheckOnReplSet to call isMaster on admin Created: 05/Sep/23 Updated: 29/Oct/23 Resolved: 28/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Hugh Tong (Inactive) | Assignee: | Hugh Tong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ntdi_must_have | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Serverless
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Server Serverless 2023-10-02 | ||||||||
| Participants: | |||||||||
| Description |
|
run_check_repl_oplog.js is a hook called from resmoke with a function runCheckOnReplSet that calls db.isMaster(). In a serverless environment, if the featureFlagRequireTenantID is set we need a tenantId to pass into the command (if not issued against admin, local, or config), and we should either use $tenant or be creating a security token connection in order to query with a tenantId. |
| Comments |
| Comment by Githook User [ 27/Sep/23 ] |
|
Author: {'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}Message: |
| Comment by Hugh Tong (Inactive) [ 25/Sep/23 ] |
|
Using security tokens appears to be too heavyweight and is causing timeouts in many tests. I propose perhaps to issue the 'isMaster' command against admin instead, since I don't think the command (which is processed by 'hello') needs to be tenant-specific. |