MCPcopy Create free account
hub / github.com/cortexproject/cortex / frontendDisconnected

Method frontendDisconnected

pkg/scheduler/scheduler.go:323–333  ·  view source on GitHub ↗
(frontendAddress string)

Source from the content-addressed store, hash-verified

321}
322
323func (s *Scheduler) frontendDisconnected(frontendAddress string) {
324 s.connectedFrontendsMu.Lock()
325 defer s.connectedFrontendsMu.Unlock()
326
327 cf := s.connectedFrontends[frontendAddress]
328 cf.connections--
329 if cf.connections == 0 {
330 delete(s.connectedFrontends, frontendAddress)
331 cf.cancel()
332 }
333}
334
335func updatePlanInHTTPRequest(fragment plan_fragments.Fragment) ([]byte, error) {
336 byteLP, err := logicalplan.Marshal(fragment.Node)

Callers 1

FrontendLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected