execution_state_map.go ×5
Frontier kind: Code frontier
unlabeled · c_8ccd2c76935a
66 tests · 5551 LOC · 174 files · introduces 0 tests · 42 LOC · 2 files
Introduces — evidence that enters the hierarchy at this concept
Code
6 ranges 42 lines · 2 files
Tests
0 tests
Contains — complete concept membership
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.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
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.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
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: 42 introduced LOC across 6 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
go.temporal.io/server/common/persistence/sql/execution_state_map.go 35 introduced LOC · 5 ranges
Open complete file
135
136
if len ( deleteIDs ) > 0 {
138
>
ShardID : shardID ,
139
>
NamespaceID : namespaceID ,
140
>
WorkflowID : workflowID ,
141
>
RunID : runID ,
142
>
TimerIDs : convert . StringSetToSlice ( deleteIDs ),
143
>
}); err != nil {
144
return serviceerror . NewUnavailablef ( "Failed to update timer info. Failed to execute delete query. Error: %v" , err )
145
}
224
225
if len ( deleteIDs ) > 0 {
226
>
if _ , err := tx . DeleteFromChildExecutionInfoMaps ( ctx , sqlplugin . ChildExecutionInfoMapsFilter {
execution_state_map.go
227
>
ShardID : shardID ,
228
>
NamespaceID : namespaceID ,
229
>
WorkflowID : workflowID ,
230
>
RunID : runID ,
231
>
InitiatedIDs : convert . Int64SetToSlice ( deleteIDs ),
232
>
}); err != nil {
233
return serviceerror . NewUnavailablef ( "Failed to update child execution info. Failed to execute delete query. Error: %v" , err )
234
}
315
316
if len ( deleteIDs ) > 0 {
317
>
if _ , err := tx . DeleteFromRequestCancelInfoMaps ( ctx , sqlplugin . RequestCancelInfoMapsFilter {
execution_state_map.go
318
>
ShardID : shardID ,
319
>
NamespaceID : namespaceID ,
320
>
WorkflowID : workflowID ,
321
>
RunID : runID ,
322
>
InitiatedIDs : convert . Int64SetToSlice ( deleteIDs ),
323
>
}); err != nil {
324
return serviceerror . NewUnavailablef ( "Failed to update request cancel info. Failed to execute delete query. Error: %v" , err )
325
}
406
407
if len ( deleteIDs ) > 0 {
409
>
ShardID : shardID ,
410
>
NamespaceID : namespaceID ,
411
>
WorkflowID : workflowID ,
412
>
RunID : runID ,
413
>
InitiatedIDs : convert . Int64SetToSlice ( deleteIDs ),
414
>
}); err != nil {
415
return serviceerror . NewUnavailablef ( "Failed to update signal info. Failed to execute delete query. Error: %v" , err )
416
}
500
501
if len ( deleteIDs ) > 0 {
503
>
ShardID : shardID ,
504
>
NamespaceID : namespaceID ,
505
>
WorkflowID : workflowID ,
506
>
RunID : runID ,
507
>
ChasmPaths : expmaps . Keys ( deleteIDs ),
508
>
}); err != nil {
509
return serviceerror . NewUnavailablef ( "Failed to update CHASM nodes. Failed to execute delete query. Error: %v" , err )
510
}
go.temporal.io/server/common/persistence/sql/execution_state_non_map.go 7 introduced LOC · 1 range
Open complete file
41
42
if len ( deleteIDs ) > 0 {
44
>
ShardID : shardID ,
45
>
NamespaceID : namespaceID ,
46
>
WorkflowID : workflowID ,
47
>
RunID : runID ,
48
>
SignalIDs : convert . StringSetToSlice ( deleteIDs ),
49
>
}); err != nil {
50
return serviceerror . NewUnavailablef ( "Failed to update signals requested. Failed to execute delete query. Error: %v" , err )
51
}