transfer_queue_active_task_executor.go ×4

Frontier kind: Code frontier

unlabeled · c_b67a39149c48

3 tests · 9861 LOC · 265 files · introduces 0 tests · 20 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges20 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
2124 ranges9861 lines · 265 files · Browse complete extent
All tests (intent)
3 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 20 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/transfer_queue_active_task_executor.go 14 introduced LOC · 4 ranges

Open complete file

534 return nil
535 }
536 > err = CheckTaskVersion(t.shardContext, t.logger, mutableState.GetNamespaceEntry(), requestCancelInfo.Version, task.Version, task) transfer_queue_active_task_executor.go
537 > if err != nil {
538 return err
539 }
540
541 > initiatedEvent, err := mutableState.GetRequesteCancelExternalInitiatedEvent(ctx, task.InitiatedEventID) transfer_queue_active_task_executor.go
542 > if err != nil {
543 return err
544 }
545 > attributes := initiatedEvent.GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() transfer_queue_active_task_executor.go
546 >
547 > var targetNamespaceName namespace.Name
548 > var targetNamespaceID namespace.ID
549 > targetNamespaceEntry, err := t.targetNamespaceEntryHelper(
550 > namespace.ID(attributes.NamespaceId),
551 > namespace.Name(attributes.Namespace),
552 > )
553 > if err != nil {
554 return err
555 }
556
557 > if targetNamespaceEntry == nil { transfer_queue_active_task_executor.go
558 return t.requestCancelExternalExecutionFailed(
559 ctx,
go.temporal.io/server/service/history/workflow/mutable_state_impl.go 6 introduced LOC · 1 range

Open complete file

8117 }
8118 for initiatedEventId := range ms.deleteRequestCancelInfos {
8119 > tombstones = append(tombstones, &persistencespb.StateMachineTombstone{ mutable_state_impl.go
8120 > StateMachineKey: &persistencespb.StateMachineTombstone_RequestCancelInitiatedEventId{
8121 > RequestCancelInitiatedEventId: initiatedEventId,
8122 > },
8123 > })
8124 > }
8125 for initiatedEventId := range ms.deleteSignalInfos {
8126 tombstones = append(tombstones, &persistencespb.StateMachineTombstone{