[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: |
|
||||
| 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: |
| Comment by Israel Hsu [ 01/Nov/21 ] |
|
The correct PR isĀ https://github.com/10gen/mongo/pull/1637 |