[SERVER-69701] Timeseries multi document insert doesn't handle WiredTiger rollback correctly Created: 14/Sep/22  Updated: 27/Oct/23  Resolved: 07/Oct/22

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

Type: Bug Priority: Major - P3
Reporter: Sulabh Mahajan Assignee: Dan Larkin-York
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-69697 Enable rollback_error config fuzz Blocked
Operating System: ALL
Sprint: Execution Team 2022-10-17
Participants:

 Description   

Referring to SERVER-66770 and SERVER-69697, this bug gets triggered when config fuzzer enables fuzzing of a WiredTiger debug option of rolling back transactions periodically.

WiredTiger can return a rollback error for any write operation and ideally a write conflict exception gets generated and the operation needs to be retried. Looks like in this case the operation was not retried. From the test it looks like the operation was expected to fail, but it failed with WCE retry rather than unsupported operation.

..
..
[fsm_workload_test:timeseries_insert_kill_op]         		{
[fsm_workload_test:timeseries_insert_kill_op]         			"index" : 971,
[fsm_workload_test:timeseries_insert_kill_op]         			"code" : 112,
[fsm_workload_test:timeseries_insert_kill_op]         			"errmsg" : "Caused by ::  :: Please retry your operation or multi-document transaction."
[fsm_workload_test:timeseries_insert_kill_op]         		},
[fsm_workload_test:timeseries_insert_kill_op]         		{
[fsm_workload_test:timeseries_insert_kill_op]         			"index" : 972,
[fsm_workload_test:timeseries_insert_kill_op]         			"code" : 112,
[fsm_workload_test:timeseries_insert_kill_op]         			"errmsg" : "Caused by ::  :: Please retry your operation or multi-document transaction."
[fsm_workload_test:timeseries_insert_kill_op]         		},
[fsm_workload_test:timeseries_insert_kill_op]         		{
[fsm_workload_test:timeseries_insert_kill_op]         			"index" : 973,
[fsm_workload_test:timeseries_insert_kill_op]         			"code" : 112,
[fsm_workload_test:timeseries_insert_kill_op]         			"errmsg" : "Caused by ::  :: Please retry your operation or multi-document transaction."
[fsm_workload_test:timeseries_insert_kill_op]         		},
..
..



 Comments   
Comment by Dan Larkin-York [ 07/Oct/22 ]

WCE handling for time series inserts was fixed in the server in SERVER-66690.

Generated at Thu Feb 08 06:14:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.