[SERVER-59849] Add test to verify behavior of ReshardingOplogFetcher when pre/post image cannot be fetched Created: 09/Sep/21  Updated: 29/Oct/23  Resolved: 12/Oct/21

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

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-oplog-fetch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-09-20, Sharding 2021-10-04, Sharding 2021-10-18
Participants:
Story Points: 1

 Description   

Also check DocumentSourceFindAndModifyImageLookup behavior.



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

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-59849 Add test to verify behavior of ReshardingOplogFetcher wh…

(cherry picked from commit 42a05ea17f1860a8616efd47acfb0e1adb3c7917)
Branch: v5.0
https://github.com/mongodb/mongo/commit/59fd57b0f630e181180daa0025884249b54e978a

Comment by Githook User [ 04/Oct/21 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-59849 Add test to verify behavior of ReshardingOplogFetcher wh…
Branch: master
https://github.com/mongodb/mongo/commit/42a05ea17f1860a8616efd47acfb0e1adb3c7917

Comment by Randolph Tan [ 09/Sep/21 ]

max.hirschhorn, it currently doesn't return an error, it just returns the original oplog instead of converting it to the old style crud oplog + no-op oplog pair. I suspect that this is not the behavior we want.

Comment by Max Hirschhorn [ 09/Sep/21 ]

renctan, is it known what error code DocumentSourceFindAndModifyImageLookup returns when the pre/postImage information is unavailable? Is it IncompleteTransactionHistory ?

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