1106
}
1107
1109
>
pm.config.setDefaultPriority(task)
1110
>
1111
>
reredirectTask:
1112
>
firedNoPollerHook := false
1113
>
_, syncMatchQueue, _, _, _, err := pm.getPhysicalQueuesForAdd(ctx,
1114
>
worker_versioning.MakeUseAssignmentRulesDirective(),
1115
>
// We do not pass forwardInfo because we want the parent partition to make fresh versioning decision. Note that
1116
>
// forwarded Query/Nexus task requests do not expire rapidly in contrast to forwarded activity/workflow tasks
1117
>
// that only try up to 200ms sync-match. Therefore, to prevent blocking the request on the wrong build ID, its
1118
>
// more important to allow the parent partition to make a fresh versioning decision in case the child partition
1119
>
// did not have up-to-date User Data when selected a dispatch build ID.
1120
>
nil,
1121
>
"",
1122
>
"",
1123
>
false)
1124
>
if err != nil {
1125
return nil, err
1126
}