[SERVER-10355] Add mechanism to programmatically determine whether new update framework is on without admin rights Created: 26/Jul/13  Updated: 02/Aug/18  Resolved: 13/Aug/13

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

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

It is not currently possible to check whether the new update framework is enabled or not without having admin privs to run

db.adminCommand({getParameter:1, newUpdateFrameworkEnabled:1})

We should have a way to check the status of this setting so that we can write js tests that only run in one mode or the other for various reasons.



 Comments   
Comment by Andrew Morrow (Inactive) [ 13/Aug/13 ]

Obviated by SERVER-10497 where we are switching unconditionally to the new update framework.

Comment by Scott Hernandez (Inactive) [ 26/Jul/13 ]

Each js test is run with TestData which includes the smoke flags used, and passed on. That means you can check TestData.setParameters for the newFrameworkEnabled param, like MongoRunner does, to tell if it is enabled. Not great, but possible if the test is run from smoke.py.

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