[SERVER-47729] Test that operations which produce delta oplog entries can be retried across versions Created: 23/Apr/20  Updated: 29/Oct/23  Resolved: 11/Aug/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-08-24
Participants:

 Description   

One specific scenario we should test is:

4.6 node runs a retryable write which logs a delta oplog entry
4.6 node downgrades FCV to 4.4
4.6 node downgrades binary to 4.4
Client retries the write performed earlier. This will cause the 4.4 node to fetch the associated oplog entry
Check that the write was indeed only performed once

 

There may be other interesting scenarios we haven't thought of yet.

 



 Comments   
Comment by Githook User [ 11/Aug/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-47729 retryable writes test for V2 delta updates
Branch: master
https://github.com/mongodb/mongo/commit/76ef32a94450f58e17e5eb0a26e974227aa5512e

Comment by Ian Boros [ 23/Apr/20 ]

findAndModify has special logic to fetch the pre/post-image of the update when run in a retryable write. We should be sure to test this carefully.

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