-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication, Replication - Oplog and Recovery
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
BF-46612 (deduped to BF-44771) was an issue in which node.adminCommand({replSetStepUp: 1}) can transiently fail. The fix was simple: wrap the command:
assert.soonNoExcept(() => { assert.commandWorked(node.adminCommand({replSetStepUp: 1})); return true; });
We should consider this type of change more broadly, along with a linter.
- action item
-
SERVER-138909 Lint jstests for one-shot commands
-
- Open
-