execution_manager.go ×3

Frontier kind: Code frontier

unlabeled · c_7e2c50965398

324 tests · 2057 LOC · 89 files · introduces 0 tests · 23 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges23 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
335 ranges2057 lines · 89 files · Browse complete extent
All tests (intent)
324 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.

3 files ranked by introduced lines: 23 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/persistence/execution_manager.go 9 introduced LOC · 3 ranges

Open complete file

1264 versionHistories *historyspb.VersionHistories,
1265 transitions []*persistencespb.VersionedTransition,
1266 > ) (int64, error) { execution_manager.go
1267 > // TODO remove this if check once legacy execution tests are removed
1268 > if versionHistories == nil {
1269 return common.EmptyVersion, nil
1270 }
1358 func (m *executionManagerImpl) makeInternalChasmNodeMap(
1359 nodes map[string]*persistencespb.ChasmNode,
1360 > ) (map[string]InternalChasmNode, error) { execution_manager.go
1361 > res := make(map[string]InternalChasmNode, len(nodes))
1362 > isCassandra := strings.Contains(m.GetName(), "cassandra")
1363 >
1364 > for path, node := range nodes {
1365 var internal InternalChasmNode
1366
go.temporal.io/server/common/persistence/serialization/serializer.go 9 introduced LOC · 2 ranges

Open complete file

433 }
434
435 > func (t *serializerImpl) WorkflowExecutionInfoToBlob(info *persistencespb.WorkflowExecutionInfo) (*commonpb.DataBlob, error) { serializer.go
436 > return encodeBlob(info, t.encodingType)
437 > }
438
439 func (t *serializerImpl) WorkflowExecutionInfoFromBlob(data *commonpb.DataBlob) (*persistencespb.WorkflowExecutionInfo, error) {
544 }
545
546 > func (t *serializerImpl) ChecksumToBlob(checksum *persistencespb.Checksum) (*commonpb.DataBlob, error) { serializer.go
547 > // nil is replaced with empty object because it is not supported for "checksum" field in DB.
548 > if checksum == nil {
549 > checksum = &persistencespb.Checksum{}
550 > }
551 > return encodeBlob(checksum, t.encodingType)
552 }
553
go.temporal.io/server/api/persistence/v1/executions.pb.go 5 introduced LOC · 1 range

Open complete file

3698 mi := &file_temporal_server_api_persistence_v1_executions_proto_msgTypes[22]
3699 if x != nil {
3700 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) executions.pb.go
3701 > if ms.LoadMessageInfo() == nil {
3702 > ms.StoreMessageInfo(mi)
3703 > }
3704 > return ms
3705 }
3706 return mi.MessageOf(x)