722
723
if !applied {
725
>
conflictRecord,
726
>
conflictIter,
727
>
currentRecordRunID,
728
>
request.ShardID,
729
>
request.RangeID,
730
>
updateWorkflow.ExecutionState.RunId,
731
>
[]executionCASCondition{{
732
>
runID: updateWorkflow.ExecutionState.RunId,
733
>
// dbVersion is for CAS, so the db record version will be set to `updateWorkflow.DBRecordVersion`
734
>
// while CAS on `updateWorkflow.DBRecordVersion - 1`
735
>
dbVersion: updateWorkflow.DBRecordVersion - 1,
736
>
nextEventID: updateWorkflow.Condition,
737
>
}},
738
>
)
739
>
}
740
return nil
741
}