mutable_state_impl.go ×7

Frontier kind: Code frontier

unlabeled · c_7a6098c00f9a

16 tests · 4927 LOC · 196 files · introduces 0 tests · 19 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges19 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
823 ranges4927 lines · 196 files · Browse complete extent
All tests (intent)
16 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: 19 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/workflow/mutable_state_impl.go 17 introduced LOC · 7 ranges

Open complete file

7888 ) {
7889 if transactionPolicy != historyi.TransactionPolicyActive {
7890 > // TODO: replication/standby logic will need a different way for updating LastUpdatedVersionedTransition mutable_state_impl.go
7891 > // when reapplying history, especially when history replication tasks got batched.
7892 > return
7893 > }
7894
7895 if !ms.transitionHistoryEnabled {
8046 ) {
8047 if transactionPolicy != historyi.TransactionPolicyActive {
8048 > // Passive/Replication logic will update tombstone list when applying mutable state mutable_state_impl.go
8049 > // snapshot or mutation.
8050 > return
8051 > }
8052
8053 if !ms.transitionHistoryEnabled {
8323 }
8324 }
8325 > case historyi.TransactionPolicyPassive: mutable_state_impl.go
8326 default:
8327 panic(fmt.Sprintf("unknown transaction policy: %v", transactionPolicy))
8526 }
8527 return nil
8528 > case historyi.TransactionPolicyPassive: mutable_state_impl.go
8529 > return emptyTasks
8530 default:
8531 panic(fmt.Sprintf("unknown transaction policy: %v", transactionPolicy))
8568
8569 return emptyTasks
8570 > case historyi.TransactionPolicyPassive: mutable_state_impl.go
8571 > return emptyTasks
8572 default:
8573 panic(fmt.Sprintf("unknown transaction policy: %v", transactionPolicy))
8819 }
8820 return nil
8821 > case historyi.TransactionPolicyPassive: mutable_state_impl.go
8822 > return nil
8823 default:
8824 panic(fmt.Sprintf("unknown transaction policy: %v", transactionPolicy))
8912 }
8913 return ms.taskGenerator.GenerateUserTimerTasks()
8914 > case historyi.TransactionPolicyPassive: mutable_state_impl.go
8915 > return nil
8916 default:
8917 panic(fmt.Sprintf("unknown transaction policy: %v", transactionPolicy))
go.temporal.io/server/service/history/workflow/timeskipping.go 2 introduced LOC · 1 range

Open complete file

457 // 4. task regeneration
458 return true
459 > case historyi.TransactionPolicyPassive: timeskipping.go
460 > return false
461 default:
462 ms.logger.Error(fmt.Sprintf("closeTransactionHandleTimeSkipping: unknown transaction policy: %v", transactionPolicy),