181
updateAction.Noop = true
182
} else {
183
>
// If the wft is speculative MS changes are not persisted, so the possibly started
api.go
184
>
// transition by the StartDeploymentTransition call above won't be persisted. This is OK
185
>
// because once the speculative task completes the transition will be applied
186
>
// automatically based on wft completion info. If the speculative task fails or times
187
>
// out, future wft will be redirected by matching again and the transition will
188
>
// eventually happen. If an activity starts while the speculative is also started on the
189
>
// new deployment, the activity will cause the transition to be created and persisted in
190
>
// the MS.
191
>
if !pollerDeployment.Equal(wfDeployment) {
192
// Dispatching to a different deployment. Try starting a transition. Starting the
193
// transition AFTER applying the start event because we don't want this pending