[SERVER-78320] Fail the shard merge if the recipient sees any donor QE oplog entries Created: 22/Jun/23  Updated: 29/Oct/23  Resolved: 22/Jun/23

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

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

Issue Links:
Related
is related to SERVER-77237 Fail the tenant migration if the reci... Closed
is related to SERVER-77236 (umbrella ticket) Merge supports Que... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-06-26
Participants:

 Description   

Shard merge tenant oplog applier doesn't handle retryable internal transaction writes properly. And, queryable encryption (QE) uses retryable internal transaction machinery. This means, retrying the QE write ops on recipient after merge commit, can cause duplicate commits. So, as a short-term fix, we will fail merge if the recipient sees any donor QE oplog entries in 7.1.



 Comments   
Comment by Githook User [ 22/Jun/23 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-78320 Fail merge upon observing an internal session for retryable writes.
Branch: master
https://github.com/mongodb/mongo/commit/d5d69d06f09631bb27e4f09799a9a16b0bde4975

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