[SERVER-73938] Make sure chunk migration can handle a retryable internal transaction whose oplog entries have been truncated Created: 13/Feb/23  Updated: 29/Oct/23  Resolved: 17/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.0.5, 6.3.0-rc1

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
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:
v6.3, v6.0
Sprint: Sharding NYC 2023-02-20
Participants:
Linked BF Score: 147

 Description   

It is incorrect to invariant that a retryable internal transaction can only applyOps oplog entry since if the TransactionHistoryIterator::next() would throw an IncompleteTransactionHistory error if the oplog entry cannot be found (e.g. has been removed due to oplog truncation). Please see BF-27708 for more details.



 Comments   
Comment by Githook User [ 17/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-73938 Add jstest to backports_required_for_multiversion_tests.yml and remove requires_fcv_70 tag
Branch: master
https://github.com/mongodb/mongo/commit/4c2c59906d3c0d312f9eab790dbfe702af601901

Comment by Githook User [ 16/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-73938 Make sure chunk migration can handle a retryable internal transaction whose oplog entries have been truncated

(cherry picked from commit b9f6d6beb02df55ede1276222a56279e7b2d48f2)
Branch: v6.3
https://github.com/mongodb/mongo/commit/9af849e64e1695f79e6987c8b0738415575e5ed2

Comment by Githook User [ 16/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-73938 Make sure chunk migration can handle a retryable internal transaction whose oplog entries have been truncated

(cherry picked from commit b9f6d6beb02df55ede1276222a56279e7b2d48f2)
Branch: v6.0
https://github.com/mongodb/mongo/commit/f4050044d6521d3d4f4b5873addd7a9b234df1a7

Comment by Cheahuychou Mao [ 16/Feb/23 ]

Reopening the ticket to push a commit for adding the jstest to backports_required_for_multiversion_tests.yml and removing requires_fcv_70 tag from

Comment by Githook User [ 15/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-73938 Make sure chunk migration can handle a retryable internal transaction whose oplog entries have been truncated
Branch: master
https://github.com/mongodb/mongo/commit/b9f6d6beb02df55ede1276222a56279e7b2d48f2

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