[SERVER-57227] Relax retry assertions in txn_override_causal_consistency.js Created: 26/May/21  Updated: 10/Nov/21  Resolved: 10/Nov/21

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

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Israel Hsu
Resolution: Done Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Operating System: ALL
Sprint: Sharding 2021-09-20, Sharding 2021-10-04, Sharding 2021-10-18, Sharding 2021-11-01, Sharding 2021-11-15
Participants:
Linked BF Score: 0

 Description   

txn_override_causal_consistency.js verifies that commands run by the network_error_and_txn_override.js logic only includes afterClusterTime when the client's session enabled causal consistency. The test requires each test case to declare if it expects retries on transient errors and will fail if retries occur unexpectedly. Transient errors can be triggered by unrelated background activity (e.g. an automatically created index triggering SnapshotUnavailable errors), so instead the test should allow retries in all cases, since this doesn't affect its intended coverage.



 Comments   
Comment by Githook User [ 10/Nov/21 ]

Author:

{'name': 'Israel Hsu', 'email': 'israel.hsu@mongodb.com', 'username': 'israelhsu'}

Message: SERVER-57227 Remove assertion of no retries
Branch: master
https://github.com/mongodb/mongo/commit/31ec9c4662739830d5fad018f98c94915027a8c5

Comment by Israel Hsu [ 01/Nov/21 ]

The correct PR isĀ https://github.com/10gen/mongo/pull/1637
(I made a mistake with PR 1636 so I removed it)

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