[SERVER-56889] Races in rollback_with_coalesced_txn_table_updates_during_oplog_application.js Created: 12/May/21  Updated: 29/Oct/23  Resolved: 12/May/21

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

Type: Bug Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2021-05-17
Participants:
Linked BF Score: 171

 Description   

Two types of race are possible in this test:
1. It doesn't wait properly for the node to become a writeable primary before running the retryable write
2. secondary1 could start rollback before the failpoint is set



 Comments   
Comment by Githook User [ 13/May/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-56889 Avoid sparse arrays in JavaScript tests.

It breaks the parsing in the mutational (jstestfuzz) fuzzer.
Branch: master
https://github.com/mongodb/mongo/commit/2a7dfc040a75852a481937259375742322dad362

Comment by Githook User [ 12/May/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-56889: Fix races in rollback_with_coalesced_txn_table_updates_during_oplog_application.js
Branch: master
https://github.com/mongodb/mongo/commit/f536417348fb67079a4efeda9afe6d3baebc7860

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