[SERVER-32364] Replace rollback_cmd_unrollbackable.js test with a C++ unit test Created: 15/Dec/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

The rollback_cmd_unrollbackable.js Javascript test creates an oplog entry of an unsupported format, inserts it into the oplog manually, and then tries to have a node roll back that oplog entry to check that it fasserts. This test case could be easily covered by a "death" test in our unit tests, in rs_rollback_test.cpp, for example.

Furthermore, we should probably try to move away from having integration tests that manually modify the oplog, since that is a behavior that should be disallowed, and is not something that we account for when designing and testing the replication system.


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