MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersMethodsnapshotInternal
( exclusiveMinVT *persistencespb.VersionedTransition, nodes map[string]*persistencespb.ChasmNode, )
chasm/tree.go:2398
↓ 1 callersFunctionsortAncestors
(ans []*persistencespb.HistoryBranchRange)
service/history/ndc/workflow_state_replicator.go:1949
↓ 1 callersFunctionsortBuildIds
(buildIds []*persistencespb.BuildId)
service/matching/version_sets_merge.go:125
↓ 1 callersFunctionsortSets
(sets []*persistencespb.CompatibleVersionSet)
service/matching/version_sets_merge.go:119
↓ 1 callersMethodspawnBlockedRequests
spawnBlockedRequests sends a bunch of requests to the interceptor which will block until signaled.
common/rpc/interceptor/concurrent_request_limit_test.go:179
↓ 1 callersFunctionspecialCaseAPIIsPolling
specialCaseAPIIsPolling checks if an API is a long-polling API and should be excluded from health signals. Note that this interceptor may run in multi
common/rpc/interceptor/health_check.go:147
↓ 1 callersMethodsplitAndClearSlice
( readers map[int64]Reader, readerGroup *ReaderGroup, )
service/history/queues/action_pending_task_count.go:158
↓ 1 callersMethodsplitBatchesToLocalAndRemote
( eventsBatches [][]*historypb.HistoryEvent, versionHistoryItems []*historyspb.VersionHistoryItem, )
service/history/replication/eventhandler/history_events_handler.go:114
↓ 1 callersFunctionsplitStatsByPriorityByRampPercentage
splitStatsByPriorityByRampPercentage splits each priority bucket independently by ramp percentage. This is required so that TaskQueueStatsByPriorityKe
service/matching/task_queue_partition_manager.go:1801
↓ 1 callersFunctionsplitTaskQueueStatsByRampPercentage
splitTaskQueueStatsByRampPercentage splits a task queue stats record into "current" and "ramping" shares. This split is applied independently per prio
service/matching/task_queue_partition_manager.go:1744
↓ 1 callersMethodstaleCheck
()
client/history/caching_redirector.go:250
↓ 1 callersMethodstart
()
common/membership/grpc_resolver.go:117
↓ 1 callersMethodstart
(hosts []string)
common/membership/static/service_resolver.go:31
↓ 1 callersFunctionstartAll
(exporters []otelsdktrace.SpanExporter)
temporal/fx.go:1073
↓ 1 callersMethodstartAndAcceptUpdateInCluster2ThenFailoverTo1AndCompleteUpdate
Run an update in cluster1 to Accepted state, failover to cluster0, and confirm that it can be completed in cluster0.
tests/xdc/history_replication_signals_and_updates_test.go:481
↓ 1 callersFunctionstartAndSignalWithCurrentWorkflow
( ctx context.Context, shard historyi.ShardContext, currentWorkflowLease api.WorkflowLease, currentWorkflo
service/history/api/signalwithstartworkflow/signal_with_start_workflow.go:194
↓ 1 callersFunctionstartAndSignalWithoutCurrentWorkflow
( ctx context.Context, shardContext historyi.ShardContext, vrid *api.VersionedRunID, newWorkflowLease api.
service/history/api/signalwithstartworkflow/signal_with_start_workflow.go:217
↓ 1 callersFunctionstartAndSignalWorkflow
( ctx context.Context, shard historyi.ShardContext, namespaceEntry *namespace.Namespace, currentWorkflowLe
service/history/api/signalwithstartworkflow/signal_with_start_workflow.go:58
↓ 1 callersMethodstartAndUpdateExecution
( ctx context.Context, shardContext historyi.ShardContext, executionRef chasm.ComponentRef, archetypeID ch
service/history/chasm_engine.go:461
↓ 1 callersMethodstartAndUpdateNew
startAndUpdateNew creates a new execution, applies startFn and updateFn in the same transaction, and registers it as the current run for the business
chasm/chasmtest/test_engine.go:464
↓ 1 callersMethodstartAndUpdateWorkflow
(ctx context.Context)
service/history/api/multioperation/api.go:344
↓ 1 callersMethodstartBatchJobWithinConcurrentJobLimit
(env *testcore.TestEnv, req *workflowservice.StartBatchOperationRequest)
tests/worker_deployment_version_test.go:2780
↓ 1 callersFunctionstartCallOutcomeTag
(callCtx context.Context, result *nexusrpc.ClientStartOperationResponse[*commonpb.Payload], callErr error)
components/nexusoperations/executors.go:966
↓ 1 callersFunctionstartCallOutcomeTag
(callCtx context.Context, result *nexusrpc.ClientStartOperationResponse[*commonpb.Payload], callErr error)
chasm/lib/nexusoperation/task_handler_helpers.go:86
↓ 1 callersMethodstartExecution
( ctx context.Context, executionRef chasm.ComponentRef, startFn func(chasm.MutableContext) (chasm.RootCompo
service/history/chasm_engine.go:186
↓ 1 callersMethodstartFrontend
()
tests/testcore/onebox.go:326
↓ 1 callersFunctionstartFrontendProxy
(t *testing.T, backends ...string)
tests/mixedbrain/proxy_util.go:24
↓ 1 callersMethodstartHeartbeat
(broadcastHostport string)
common/membership/ringpop/monitor.go:269
↓ 1 callersMethodstartHeartbeatUpsertLoop
(request *persistence.UpsertClusterMembershipRequest)
common/membership/ringpop/monitor.go:358
↓ 1 callersMethodstartHistory
()
tests/testcore/onebox.go:414
↓ 1 callersMethodstartLongPollWatcher
(ex *commonpb.WorkflowExecution)
service/worker/scheduler/workflow.go:1591
↓ 1 callersMethodstartMatching
()
tests/testcore/onebox.go:511
↓ 1 callersMethodstartNewForClosedExecution
startNewForClosedExecution handles starting a new execution when we already hold a lease on a closed execution. It creates the new execution first, th
service/history/chasm_engine.go:383
↓ 1 callersMethodstartOnHistoryService
( ctx context.Context, ns *namespace.Namespace, args startArgs, options nexus.StartOperationOptions, )
components/nexusoperations/executors.go:1116
↓ 1 callersMethodstartOperation
(service, operation string, writer http.ResponseWriter, request *http.Request)
common/nexus/nexusrpc/server.go:200
↓ 1 callersMethodstartParentClosePolicyProcessor
()
service/worker/service.go:311
↓ 1 callersMethodstartPinnedWorkflows
(env *taskQueueStatsContext, count int, tqName string, deploymentName string, buildID string)
tests/task_queue_stats_test.go:896
↓ 1 callersMethodstartReplicator
()
service/worker/service.go:365
↓ 1 callersMethodstartScanner
()
service/worker/service.go:356
↓ 1 callersMethodstartServices
()
temporal/server_impl.go:126
↓ 1 callersMethodstartTransactionHandleNamespaceMigration
( namespaceEntry *namespace.Namespace, )
service/history/workflow/mutable_state_impl.go:8672
↓ 1 callersMethodstartTransactionHandleWorkflowTaskFailover
()
service/history/workflow/mutable_state_impl.go:8696
↓ 1 callersMethodstartUnpinnedWorkflow
(ctx context.Context, env *testcore.TestEnv, tv *testvars.TestVars)
tests/worker_deployment_version_test.go:515
↓ 1 callersMethodstartVersionWorkflowExpectFailAddVersion
(ctx context.Context, env *testcore.TestEnv, tv *testvars.TestVars)
tests/worker_deployment_version_test.go:182
↓ 1 callersMethodstartVersionedPollerAndValidate
startVersionedPollerAndValidate starts a versioned poller for the given task queue and validates that the version is present in the task queue via mat
tests/workflow_reset_test.go:552
↓ 1 callersMethodstartVersionedPollerAndValidate
( env *testcore.TestEnv, tv *testvars.TestVars, )
tests/workflow_alias_search_attribute_test.go:51
↓ 1 callersMethodstartViaHTTP
( ctx context.Context, client *nexusrpc.HTTPClient, args startArgs, options nexus.StartOperationOptions, )
components/nexusoperations/executors.go:1218
↓ 1 callersMethodstartWFT
( t *testing.T, ms *workflow.MutableStateImpl, )
service/history/workflow/workflow_test/mutable_state_impl_test.go:122
↓ 1 callersMethodstartWatch
startWatch attempts to establish a namespace watch with retries. Returns the watch channel and context on success.
common/namespace/nsregistry/registry.go:488
↓ 1 callersMethodstartWorker
( components []workercommon.PerNSWorkerComponent, allocation workerAllocation, )
service/worker/pernamespaceworker.go:470
↓ 1 callersMethodstartWorker
()
tests/testcore/onebox.go:565
↓ 1 callersMethodstartWorkers
( count int, )
common/tasks/sequential_scheduler.go:231
↓ 1 callersMethodstartWorkflow
( start *schedulespb.BufferedStart, newWorkflow *workflowpb.NewWorkflowExecutionInfo, )
service/worker/scheduler/workflow.go:1443
↓ 1 callersMethodstartWorkflow
( ctx context.Context, client sdkclient.Client, options sdkclient.StartWorkflowOptions, workflowType strin
service/worker/scanner/scanner.go:323
↓ 1 callersMethodstartWorkflow
( ctx context.Context, task *tasks.StartChildExecutionTask, namespace namespace.Name, targetNamespace name
service/history/transfer_queue_active_task_executor.go:1655
↓ 1 callersMethodstartWorkflow
( ctx context.Context, metricsHandler metrics.Handler, scheduler *Scheduler, start *schedulespb.BufferedSt
chasm/lib/scheduler/invoker_tasks.go:613
↓ 1 callersMethodstartWorkflowDeadline
startWorkflowDeadline returns the latest time at which a buffered workflow should be started, instead of dropped. The deadline puts an upper bound on
chasm/lib/scheduler/invoker_tasks.go:589
↓ 1 callersMethodstartWorkflowExecution
(ns namespace.Name)
tests/namespace_interceptor_test.go:63
↓ 1 callersMethodstartWorkflowSearchAttributes
startWorkflowSearchAttributes returns the search attributes to be applied to workflows kicked off. Includes custom search attributes and Temporal-mana
chasm/lib/scheduler/scheduler.go:1016
↓ 1 callersMethodstartWorkflows
startWorkflows executes the provided list of starts, returning a result with their outcomes.
chasm/lib/scheduler/invoker_tasks.go:337
↓ 1 callersMethodstateBased
()
service/history/ndc/replication_task.go:46
↓ 1 callersMethodstateBased
()
service/history/ndc/replication_task.go:318
↓ 1 callersMethodstateChange
(updateID string, from, to state)
service/history/workflow/update/util.go:103
↓ 1 callersFunctionstateMachineTimerTaskFromProto
(info *persistencespb.TimerTaskInfo)
common/persistence/serialization/task_serializers.go:1021
↓ 1 callersFunctionstateMachineTimerTaskToProto
(task *tasks.StateMachineTimerTask)
common/persistence/serialization/task_serializers.go:990
↓ 1 callersFunctionstatusAccepted
()
service/history/workflow/update/status.go:25
↓ 1 callersMethodstatusMonitorLoop
()
service/history/replication/stream_receiver_monitor.go:299
↓ 1 callersFunctionstatusOfInternalWorkflow
( internalState *InternalWorkflowMutableState, state *persistencespb.WorkflowMutableState, historyStatistic
common/persistence/size.go:8
↓ 1 callersFunctionstatusRejected
(rejection *failurepb.Failure)
service/history/workflow/update/status.go:31
↓ 1 callersMethodstop
()
service/history/shard/ownership.go:121
↓ 1 callersMethodstop
()
service/history/workflow/cache/cache.go:151
↓ 1 callersMethodstopWorker
()
service/worker/pernamespaceworker.go:543
↓ 1 callersMethodstopWorkers
( count int, )
common/tasks/sequential_scheduler.go:243
↓ 1 callersMethodstreamMetricsHandlerLogTags
( fullMethod string, methodName string, )
common/rpc/interceptor/telemetry.go:391
↓ 1 callersMethodstring
()
common/testing/objectleak/report.go:146
↓ 1 callersMethodstringNSetter
(v string, n int)
common/testing/testvars/test_vars.go:69
↓ 1 callersMethodstringToMapKey
(nodeName string, key string, keyT reflect.Type)
chasm/tree.go:990
↓ 1 callersMethodstructuredRef
structuredRef returns a ComponentRef for the node.
chasm/tree.go:1381
↓ 1 callersMethodsubscribe
subscribe returns a channel that will be closed on the next notify call for key, and an unsubscribe function that must be called when the caller is do
chasm/chasmtest/test_engine.go:679
↓ 1 callersFunctionsubtractStats
(into *taskqueuepb.TaskQueueStats, sub *taskqueuepb.TaskQueueStats)
service/matching/task_queue_partition_manager.go:1840
↓ 1 callersMethodsuppressCurrentAndCreateAsCurrent
( ctx context.Context, currentWorkflow Workflow, targetWorkflow Workflow, )
service/history/ndc/transaction_manager_new_workflow.go:276
↓ 1 callersMethodsuppressCurrentAndUpdateAsCurrent
( ctx context.Context, currentWorkflow Workflow, targetWorkflow Workflow, newWorkflow Workflow, )
service/history/ndc/transaction_manager_existing_workflow.go:306
↓ 1 callersFunctionsuppressStartupErrors
(status grpchealthspb.HealthCheckResponse_ServingStatus, dur time.Duration, threshold time.Duration, )
service/history/deep_health_check.go:89
↓ 1 callersMethodsweepIdleQueues
sweepIdleQueues removes queues that have been idle for longer than QueueTTL. Returns true if no queues remain (sweeper should exit).
common/tasks/execution_queue_scheduler.go:237
↓ 1 callersMethodsyncHSMNode
( mutableState historyi.MutableState, request *historyi.SyncHSMRequest, )
service/history/ndc/hsm_state_replicator.go:139
↓ 1 callersFunctionsyncMatchOutcomeToHook
(outcome syncMatchOutcome)
service/matching/task_queue_partition_manager.go:670
↓ 1 callersMethodsyncRegisteredTaskQueueAsync
syncRegisteredTaskQueueAsync syncs the routing config and version data to the new task queue. This method does not increment version data revision num
service/worker/workerdeployment/version_workflow.go:1498
↓ 1 callersMethodsyncRegisteredTaskQueueOld
(ctx workflow.Context, args *deploymentspb.RegisterWorkerInVersionArgs)
service/worker/workerdeployment/version_workflow.go:804
↓ 1 callersMethodsyncSubStateMachinesByType
(incoming map[string]*persistencespb.StateMachineMap)
service/history/workflow/mutable_state_impl.go:9528
↓ 1 callersMethodsyncTaskQueueDeploymentData
( env *testcore.TestEnv, tv *testvars.TestVars, isCurrent bool, ramp float32, rampUnversioned bool, upda
tests/versioning_3_test.go:4389
↓ 1 callersMethodsyncVersionStatusAfterDrainageStatusChange
syncVersionStatusAfterDrainageStatusChange syncs the current version status to all task queues. This function acquires the workflow lock the same way
service/worker/workerdeployment/version_workflow.go:1219
↓ 1 callersMethodsyncVersionSummaryFromVersionWorkflow
syncVersionSummary ensures the version summary in the deployment workflow stays consistent with the version workflow. This helps prevent discrepancies
service/worker/workerdeployment/workflow.go:142
↓ 1 callersMethodtakeOverTaskQueueLocked
( ctx context.Context, )
service/matching/db.go:174
↓ 1 callersFunctiontargetReaderIDs
( currentClusterName string, currentShardID int32, allClusterInfo map[string]cluster.ClusterInformation, )
service/history/replication/task_processor_manager.go:340
↓ 1 callersMethodtask
(fqn string)
chasm/registry.go:209
↓ 1 callersFunctiontaskBaseMetricTags
( task tasks.Task, namespaceRegistry namespace.Registry, currentClusterName string, chasmRegistry *chasm.R
service/history/queues/executable.go:854
↓ 1 callersFunctiontaskCategory
( task *persistencespb.ChasmComponentAttributes_Task, )
chasm/tree.go:3080
↓ 1 callersMethodtaskIDGenerator
(number int)
service/history/historybuilder/history_builder_test.go:2677
↓ 1 callersMethodtaskOf
(taskGoType reflect.Type)
chasm/registry.go:229
↓ 1 callersFunctiontaskQueueId
( namespaceID primitives.UUID, taskQueueName string, taskType enumspb.TaskQueueType, subqueue int, )
common/persistence/sql/task_util.go:53
← previousnext →13,001–13,100 of 43,335, ranked by callers