BackEnd\Components\Scheduler\SchedulingData.cs (16)
322_executingRequestByNode[request.AssignedNode] = null;
327_readyRequestsByNode[request.AssignedNode].Remove(request);
339if (!_scheduledRequestsByNode.TryGetValue(request.AssignedNode, out requestsAssignedToNode))
342_scheduledRequestsByNode[request.AssignedNode] = requestsAssignedToNode;
345ErrorUtilities.VerifyThrow(!requestsAssignedToNode.Contains(request), "Request {0} is already scheduled to node {1}", request.BuildRequest.GlobalRequestId, request.AssignedNode);
350if (!_configurationsByNode.TryGetValue(request.AssignedNode, out configurationsAssignedToNode))
353_configurationsByNode[request.AssignedNode] = configurationsAssignedToNode;
382if (_scheduledRequestsByNode.TryGetValue(request.AssignedNode, out var requests))
392ErrorUtilities.VerifyThrow(!_executingRequestByNode.ContainsKey(request.AssignedNode) || _executingRequestByNode[request.AssignedNode] == null, "Node {0} is currently executing a request.", request.AssignedNode);
395_executingRequestByNode[request.AssignedNode] = request;
396_configurationToNode[request.BuildRequest.ConfigurationId] = request.AssignedNode;
408if (!_readyRequestsByNode.TryGetValue(request.AssignedNode, out readyRequestsOnNode))
411_readyRequestsByNode[request.AssignedNode] = readyRequestsOnNode;
414ErrorUtilities.VerifyThrow(!readyRequestsOnNode.Contains(request), "Request with global id {0} is already marked as ready on node {1}", request.BuildRequest.GlobalRequestId, request.AssignedNode);