raw_task_converter.go ×4

Frontier kind: Code frontier

unlabeled · c_d68da7c5fb62

2 tests · 4799 LOC · 195 files · introduces 0 tests · 13 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges13 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
776 ranges4799 lines · 195 files · Browse complete extent
All tests (intent)
2 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: 13 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/replication/raw_task_converter.go 8 introduced LOC · 4 ranges

Open complete file

358 )
359 if err != nil {
360 > return nil, err raw_task_converter.go
361 > }
362 if currentVersionHistory == nil {
363 return nil, nil
461 )
462 if err != nil {
463 > return nil, nil, nil, err raw_task_converter.go
464 > }
465 if versionHistory == nil {
466 return nil, nil, nil, nil
501 )
502 if err != nil {
503 > return nil, nil, nil, nil, err raw_task_converter.go
504 > }
505 if versionHistory == nil {
506 return nil, nil, nil, nil, nil
568 case *serviceerror.NotFound, *serviceerror.NamespaceNotFound:
569 return nil, nil, nil, nil
570 > default: raw_task_converter.go
571 > return nil, nil, nil, err
572 }
573 }
go.temporal.io/server/service/history/replication/ack_manager.go 5 introduced LOC · 2 ranges

Open complete file

330 replicationTask, err := p.ConvertTask(ctx, task)
331 if err != nil {
332 > return p.swallowPartialResultsError(replicationTasks, lastTaskID, err) ack_manager.go
333 } else if replicationTask == nil {
334 lastTaskID = task.GetTaskID()
369 lastTaskID int64,
370 err error,
371 > ) ([]*replicationspb.ReplicationTask, int64, error) { ack_manager.go
372 >
373 > p.logger.Error("Replication tasks reader encountered error, return earlier.", tag.Error(err), tag.Value(len(replicationTasks)))
374 > if len(replicationTasks) == 0 {
375 return nil, 0, err
376 }