[SERVER-53849] Move away from getLog in timestamped_reads_wait_for_prepare_oplog_visibility.js Created: 16/Jan/21  Updated: 29/Oct/23  Resolved: 28/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.9

Type: Bug Priority: Major - P3
Reporter: Moustafa Maher Assignee: Moustafa Maher
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:
v4.4
Sprint: Repl 2021-01-25, Repl 2021-02-08
Participants:
Linked BF Score: 19

 Description   

We need to move away from getLog as log events might be truncated and that will make our test flaky.

We need to add another way to wait for the 'prepareTransaction' to complete.

https://github.com/mongodb/mongo/blob/master/jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js#L61

 

 



 Comments   
Comment by Githook User [ 05/Aug/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-53849 Move away from getLog in timestamped_reads_wait_for_prepare_oplog_visibility.js
Branch: v4.4
https://github.com/mongodb/mongo/commit/1db2349bbf2db0c80de1850a14a86f6d433f3f9d

Comment by Moustafa Maher [ 12/Mar/21 ]

The BF got opened again because the error occurred in v4.4

Comment by Githook User [ 28/Jan/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-53849 Move away from getLog in timestamped_reads_wait_for_prepare_oplog_visibility.js
Branch: master
https://github.com/mongodb/mongo/commit/fb7317391895ae27297ad1c952c541076c33d7af

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