2178
ctx context.Context,
2179
req *matchingservice.GetTaskQueueUserDataRequest,
2181
>
partition, err := tqid.PartitionFromProto(&taskqueuepb.TaskQueue{Name: req.GetTaskQueue()}, req.NamespaceId, req.TaskQueueType)
2182
>
if err != nil {
2183
return nil, err
2184
}
2185
>
pm, _, err := e.getTaskQueuePartitionManager(ctx, partition, !req.OnlyIfLoaded, loadCauseUserData)
matching_engine.go
2186
>
if err != nil {
2187
return nil, err
2189
return nil, serviceerror.NewFailedPrecondition("partition was not loaded")
2190
}
2192
// mark alive so that it doesn't unload while a child partition is doing a long poll
2193
pm.MarkAlive()
2194
}
2195
>
return pm.GetUserDataManager().HandleGetUserDataRequest(ctx, req)
matching_engine.go
2196
}
2197