[SERVER-56337] Remove redundant ReshardingOplogApplierRetryableTest test cases Created: 25/Apr/21  Updated: 29/Oct/23  Resolved: 26/Apr/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-05-03
Participants:
Story Points: 1

 Description   

The ReshardingOplogApplierRetryableTest test cases are mostly redundant with resharding_oplog_session_application_test.cpp. The former should be removed after addressing the following coverage gaps:

  • Add test cases for handling of prepared transaction in ReshardingOplogBatchApplier.
  • Add assertions to resharding_oplog_session_application_test.cpp using SessionUpdateTracker to mimic replication's oplog application.


 Comments   
Comment by Githook User [ 26/Apr/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-56337 Remove ReshardingOplogApplierRetryableTest test cases.

Adds coverage of mimicking secondary session application to
ReshardingOplogSessionApplicationTest::checkSessionTxnRecord().
Branch: master
https://github.com/mongodb/mongo/commit/bc921473e7ebb95131e98f2c26063cf7e44f13ff

Comment by Githook User [ 26/Apr/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-56337 Add unit tests for ReshardingOplogBatchApplier class.
Branch: master
https://github.com/mongodb/mongo/commit/553b238745eb1d1ca06b90a831da2021f1a82c34

Generated at Thu Feb 08 05:39:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.