[COMPASS-7369] Automatically retry the updatePreview if we get "Write conflict during plan execution and yielding is disabled." Created: 20/Oct/23  Updated: 10/Nov/23  Resolved: 07/Nov/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Le Roux Bodenstein
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-6671
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Nodosaurus

 Description   

Something to do with retryable writes. It can happen if you keep typing updates fast.

(We could also make updating the preview a manual thing where you have to click a button, but that's a bit sucky and I'm trying to avoid it if possible.)



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

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat: automatically retry the update preview on transient transaction errors COMPASS-7369 (#5067)

  • use session.withTransaction which auto-retries transient transaction errors
Comment by Githook User [ 07/Nov/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat: automatically retry the update preview on transient transaction errors COMPASS-7369 (#5067)

  • use session.withTransaction which auto-retries transient transaction errors
Comment by Githook User [ 06/Nov/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: feat: automatically retry the update preview on transient transaction errors COMPASS-7369 (#5067)

  • use session.withTransaction which auto-retries transient transaction errors
Generated at Wed Feb 07 22:46:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.