Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69701

Timeseries multi document insert doesn't handle WiredTiger rollback correctly

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Execution Team 2022-10-17

      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]         		},
      ..
      ..
      

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: