[SERVER-56811] server_read_concern_metrics.js fails multi-doc transaction read Created: 10/May/21  Updated: 29/Oct/23  Resolved: 14/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: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

The multi-document transaction read in this test may fail due to unfinished internal writes when the session was created. This may lead to the test failing with a SnapshotUnavailable error.

A majority wait in the last write before starting the transaction/session should help to avoid this scenario.



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

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-56811 server_read_concern_metrics waits for all writes, including internal writes from primary services, before starting session
Branch: master
https://github.com/mongodb/mongo/commit/b02a6546d95fc63be1d9786916ad59b0c010fd21

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