[SERVER-53673] Race in txn_commit_optimizations_for_read_only_shards.js Created: 08/Jan/21  Updated: 11/Nov/23  Resolved: 14/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-alpha0

Type: Bug Priority: Major - P3
Reporter: Andrew Shuvalov (Inactive) Assignee: Andrew Shuvalov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Participants:
Linked BF Score: 20

 Description   

As in https://jira.mongodb.org/browse/BF-19800 the failover doesn't happen fast enough for the transaction commit to return an expected error. The transaction still fails but with unexpected error (see details in BF)



 Comments   
Comment by Githook User [ 14/Jan/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-53673: flaky test fix: wait for stup up before committing transaction in test
Branch: master
https://github.com/mongodb/mongo/commit/753bf2898007f791f120c96e36616c822e138cda

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