87
88
if len(errors) == 0 {
89
>
// This means that extractErrors wasn't able to extract error from the conflicting records.
errors.go
90
>
// Most likely record to update is not found in the DB by WHERE clause and is NOT in conflictRecords slice.
91
>
// Unfortunately, there is no way to get the missing record w/o extra call to DB.
92
>
// Most likely it is current workflow execution record.
93
>
return &p.ConditionFailedError{
94
>
Msg: fmt.Sprintf("Encounter unknown condition update error: shard ID: %v, range ID: %v, possibly conflicting records:%v",
95
>
requestShardID,
96
>
requestRangeID,
97
>
printRecords(conflictRecords),
98
>
),
99
>
}
100
>
}
101
102
errors = sortErrors(errors)