[SERVER-58022] tenant_migration_resume_oplog_application.js should account for resumeTokens being part of an application batch Created: 23/Jun/21  Updated: 29/Oct/23  Resolved: 25/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-06-28
Participants:
Linked BF Score: 9

 Description   

Currently, the test sets the batchSizeLimit to 2 and expects that we hang after applying one batch (ie. applying 2 of the 3 insert entries here). However, it seems possible that a resumeToken oplog entry finds its way into the batch, which causes our expectations of the batch contents and the number of no-op oplog entries to be applied to be incorrect.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 23/Jul/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-58022 tenant_migration_resume_oplog_application.js should account for resumeTokens being part of an application batch

(cherry picked from commit 313e241f9caa96f2735bf84072cb44648da56ac7)
Branch: v5.0
https://github.com/mongodb/mongo/commit/c7f3eb48ffc41e277ec1951e4c773f48e6c607c4

Comment by Githook User [ 25/Jun/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-58022 tenant_migration_resume_oplog_application.js should account for resumeTokens being part of an application batch
Branch: master
https://github.com/mongodb/mongo/commit/313e241f9caa96f2735bf84072cb44648da56ac7

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