execution_store.go ×3

Frontier kind: Code frontier

unlabeled · c_72184c222d85

12 tests · 4880 LOC · 186 files · introduces 0 tests · 18 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges18 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
927 ranges4880 lines · 186 files · Browse complete extent
All tests (intent)
12 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: 18 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/persistence/cassandra/mutable_state_store.go 14 introduced LOC · 1 range

Open complete file

600 ctx context.Context,
601 request *p.InternalUpdateWorkflowExecutionRequest,
602 > ) error { mutable_state_store.go
603 > batch := d.Session.NewBatch(gocql.LoggedBatch).WithContext(ctx)
604 >
605 > updateWorkflow := request.UpdateWorkflowMutation
606 > newWorkflow := request.NewWorkflowSnapshot
607 >
608 > namespaceID := updateWorkflow.NamespaceID
609 > workflowID := updateWorkflow.WorkflowID
610 > runID := updateWorkflow.RunID
611 > shardID := request.ShardID
612 >
613 > currentRecordRunID := d.getCurrentRecordRunID(request.ArchetypeID)
614 >
615 > switch request.Mode {
616 case p.UpdateWorkflowModeIgnoreCurrent:
617 // noop
go.temporal.io/server/common/persistence/cassandra/execution_store.go 4 introduced LOC · 3 ranges

Open complete file

111 ctx context.Context,
112 request *p.InternalUpdateWorkflowExecutionRequest,
113 > ) error { execution_store.go
114 > for _, req := range request.UpdateWorkflowNewEvents {
115 if err := d.AppendHistoryNodes(ctx, req); err != nil {
116 return err
117 }
118 }
119 > for _, req := range request.NewWorkflowNewEvents { execution_store.go
120 if err := d.AppendHistoryNodes(ctx, req); err != nil {
121 return err
123 }
124
125 > return d.MutableStateStore.UpdateWorkflowExecution(ctx, request) execution_store.go
126 }
127