physical_task_queue_key.go ×2

Frontier kind: Code frontier

unlabeled · c_0d07b0864478

28 tests · 4677 LOC · 183 files · introduces 0 tests · 9 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges9 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
889 ranges4677 lines · 183 files · Browse complete extent
All tests (intent)
28 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: 9 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/matching/physical_task_queue_key.go 4 introduced LOC · 2 ranges

Open complete file

128
129 if len(q.version.deploymentSeriesName) > 0 {
130 > encodedBuildId := base64.RawURLEncoding.EncodeToString([]byte(q.version.buildId)) physical_task_queue_key.go
131 > encodedDeploymentName := base64.RawURLEncoding.EncodeToString([]byte(q.version.deploymentSeriesName))
132 > return nonRootPartitionPrefix + baseName + partitionDelimiter + encodedDeploymentName + deploymentNameDelimiter + encodedBuildId + buildIdDelimiter + strconv.Itoa(p.PartitionId())
133 } else if len(q.version.buildId) > 0 {
134 encodedBuildId := base64.URLEncoding.EncodeToString([]byte(q.version.buildId))
201 return v.buildId
202 }
203 > return v.deploymentSeriesName + worker_versioning.WorkerDeploymentVersionDelimiter + v.buildId physical_task_queue_key.go
204 }
go.temporal.io/server/service/matching/task_queue_partition_manager.go 4 introduced LOC · 2 ranges

Open complete file

2027 }
2028 if deployment != nil {
2029 > key.deploymentSeriesName = deployment.GetSeriesName() task_queue_partition_manager.go
2030 > key.buildId = deployment.GetBuildId()
2031 > }
2032
2033 pm.versionedQueuesLock.RLock()
2046 var dbq *PhysicalTaskQueueKey
2047 if deployment != nil {
2048 > dbq = DeploymentQueueKey(pm.partition, deployment) task_queue_partition_manager.go
2049 } else if buildId != "" {
2050 dbq = BuildIdQueueKey(pm.partition, buildId)
go.temporal.io/server/service/matching/matching_engine.go 1 introduced LOC · 1 range

Open complete file

3170 versioned := "unversioned"
3171 if dep := version.Deployment(); dep != nil {
3172 > versioned = "deployment" matching_engine.go
3173 } else if buildID := version.BuildId(); buildID != "" {
3174 versioned = "buildId"