MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersFunctiongetMinTaskKey
( queueState *persistencespb.QueueState, )
service/history/shard/context_util.go:68
↓ 2 callersMethodgetMutableState
(namespaceID namespace.ID, we *commonpb.WorkflowExecution)
service/history/history_engine2_test.go:2903
↓ 2 callersMethodgetMutableState
(ctx context.Context, runId string)
service/history/replication/executable_verify_versioned_transition_task.go:223
↓ 2 callersMethodgetNamespaceByIDLocked
(id namespace.ID)
common/namespace/nsregistry/registry.go:739
↓ 2 callersMethodgetNamespaceByIDPersistence
(id namespace.ID)
common/namespace/nsregistry/registry.go:862
↓ 2 callersMethodgetNamespaceByNamePersistence
(name namespace.Name)
common/namespace/nsregistry/registry.go:846
↓ 2 callersFunctiongetNamespaceID
(c *cli.Context, clientFactory ClientFactory, nsName namespace.Name)
tools/tdbg/util.go:296
↓ 2 callersMethodgetNamespacePersistence
(request *persistence.GetNamespaceRequest)
common/namespace/nsregistry/registry.go:878
↓ 2 callersMethodgetNewRunMutableState
( ctx context.Context, namespaceID namespace.ID, workflowID string, newRunID string, originalMutableState
service/history/ndc/workflow_state_replicator.go:1035
↓ 2 callersMethodgetNewRunWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, archetypeID chasm.ArchetypeID, origin
service/history/ndc/workflow_state_replicator.go:999
↓ 2 callersMethodgetNextTimeV2
Gets the next scheduled time after `after`, making use of a cache. If the cache needs to be refilled, try to refill it starting from `cacheBase` inste
service/worker/scheduler/workflow.go:539
↓ 2 callersFunctiongetNodeType
(metadata *persistencespb.ChasmNodeMetadata)
tools/tdbg/chasm_decoder.go:38
↓ 2 callersFunctiongetNumMessages
( t *testing.T, cluster *cassandra.TestCluster, queueType persistence.QueueV2Type, queueName string, numM
common/persistence/tests/cassandra_test.go:1176
↓ 2 callersMethodgetOldestBacklogTime
()
service/matching/pri_task_reader.go:105
↓ 2 callersMethodgetOperationContext
Extracts a nexusContext from the given ctx and returns an operationContext with tagged metrics and logging. Resolves the context's namespace name to a
service/frontend/nexus_handler.go:338
↓ 2 callersFunctiongetOptionsFromMutableState
(ms historyi.MutableState)
service/history/api/updateworkflowoptions/api.go:174
↓ 2 callersMethodgetOrCreateOutcome
(ctx chasm.MutableContext)
chasm/lib/nexusoperation/operation.go:391
↓ 2 callersMethodgetOrCreateTaskChannel
( channelKey K, )
common/tasks/interleaved_weighted_round_robin.go:234
↓ 2 callersMethodgetOrCreateWorkflowExecutionInternal
( ctx context.Context, shardContext historyi.ShardContext, namespaceID namespace.ID, execution *commonpb.W
service/history/workflow/cache/cache.go:255
↓ 2 callersMethodgetOrReadthroughNamespace
getOrReadthroughNamespace returns namespace information if it exists or reads through to the persistence layer and updates internal entry if it doesn'
common/namespace/nsregistry/registry.go:748
↓ 2 callersMethodgetOrRebuildMutableStateByIndex
( ctx context.Context, branchIndex int32, )
service/history/ndc/conflict_resolver.go:92
↓ 2 callersFunctiongetOutbountQueueProcessorMetricsHandler
(handler metrics.Handler)
service/history/outbound_queue_factory.go:316
↓ 2 callersFunctiongetOwnershipScaledQuota
( scaler OwnershipBasedQuotaScaler, globalLimit int, )
service/history/shard/ownership_based_quota_calculator.go:67
↓ 2 callersMethodgetPaginationFn
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, runID strin
service/history/replication/eventhandler/remote_history_paginated_fetcher.go:138
↓ 2 callersMethodgetPassWithOverflow
(key string, base, inc int64)
service/matching/counter/map.go:32
↓ 2 callersMethodgetPhysicalTaskQueueManagerImpl
getPhysicalTaskQueueManagerImpl extracts the physicalTaskQueueManagerImpl for the given taskQueuePartitionManager
service/matching/matching_engine_test.go:3710
↓ 2 callersFunctiongetPlugin
(pluginName string)
common/persistence/sql/store.go:74
↓ 2 callersFunctiongetQueryFields
( namespaceName namespace.Name, saNameType searchattribute.NameTypeMap, saMapperProvider searchattribute.Ma
service/worker/scheduler/query.go:102
↓ 2 callersFunctiongetQueryFieldsLegacy
( namespaceName namespace.Name, saNameType searchattribute.NameTypeMap, saMapperProvider searchattribute.Ma
service/worker/scheduler/query.go:133
↓ 2 callersFunctiongetQueryResults
(queries map[string]*querypb.WorkflowQuery, queryResult *querypb.WorkflowQueryResult)
tests/testcore/taskpoller.go:519
↓ 2 callersFunctiongetQueueFromMetadata
( queueType persistence.QueueV2Type, queueName string, queueBytes []byte, queueEncodingStr string, versio
common/persistence/cassandra/queue_v2_store.go:404
↓ 2 callersFunctiongetQuota
getQuota returns the effective resource limit for a host given the per instance and per cluster limits. The "resource" here could be requests per seco
common/quotas/calculator/cluster_aware_quota_calculator.go:34
↓ 2 callersMethodgetRateLimiter
()
service/history/replication/task_fetcher.go:43
↓ 2 callersMethodgetRateLimiters
( request Request, )
common/quotas/priority_rate_limiter_impl.go:155
↓ 2 callersMethodgetReaderByIDLocked
(readerID int64)
service/history/queues/reader_group.go:109
↓ 2 callersFunctiongetResetPoint
( ctx context.Context, namespaceStr string, execution *commonpb.WorkflowExecution, frontendClient workflow
service/worker/batcher/activities.go:919
↓ 2 callersMethodgetRetention
getRetention returns the retention period for this task generator's workflow execution. The retention period represents how long the workflow data sho
service/history/workflow/task_generator.go:280
↓ 2 callersMethodgetRetentionExpiration
(nextWakeup time.Time)
service/worker/scheduler/workflow.go:1651
↓ 2 callersFunctiongetSafeDurationConfig
(ctx workflow.Context, id string, unsafeGetter func() time.Duration, defaultValue time.Duration)
service/worker/workerdeployment/util.go:180
↓ 2 callersMethodgetServiceResolver
(u *url.URL)
common/membership/grpc_resolver.go:86
↓ 2 callersFunctiongetSetIds
getSetIds returns an arbitrary but consistent member of the set, and the rest of the set. We want Add and Poll requests for the same set to converge o
service/matching/version_sets.go:459
↓ 2 callersMethodgetShardIndex
(key any)
common/locks/id_mutex.go:100
↓ 2 callersFunctiongetSize
(value any)
common/cache/size_getter.go:16
↓ 2 callersMethodgetSourceCluster
()
service/history/replication/task_fetcher.go:41
↓ 2 callersFunctiongetSupportedDLQTaskCategories
(taskCategoryRegistry tasks.TaskCategoryRegistry)
tools/tdbg/dlq_v2_service.go:359
↓ 2 callersMethodgetTaskManager
getTaskManager returns the underlying testTaskManager (which is accessed differently depending on mode)
service/matching/physical_task_queue_manager_test.go:179
↓ 2 callersMethodgetTaskSchedulerPriority
(priority enumsspb.TaskPriority, task TrackableExecutableTask)
service/history/replication/stream_receiver.go:435
↓ 2 callersFunctiongetTestConverter
(fnInterceptor FieldNameInterceptor, fvInterceptor FieldValuesInterceptor)
common/persistence/visibility/store/query/interceptors_legacy_test.go:96
↓ 2 callersMethodgetTestFactory
(frontend bool)
common/rpc/test/rpc_localstore_tls_test.go:589
↓ 2 callersMethodgetTimeValue
(colName string)
service/matching/workers/worker_query_engine.go:411
↓ 2 callersMethodgetTimerSequence
( mutableState historyi.MutableState, )
service/history/timer_queue_active_task_executor.go:898
↓ 2 callersMethodgetTimerSequence
( mutableState historyi.MutableState, )
service/history/timer_queue_standby_task_executor.go:714
↓ 2 callersFunctiongetTypedFieldFromRow
Returns a correctly typed value for fieldName retrieved from a row populated by a MapScan operation. Returns the zero value for the provided type and
common/persistence/cassandra/common.go:47
↓ 2 callersFunctiongetUnsafeStringTupleValues
(valTuple sqlparser.ValTuple)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:134
↓ 2 callersMethodgetUpdateOutcomeEvent
( ctx context.Context, updateID string, )
service/history/workflow/mutable_state_impl.go:1534
↓ 2 callersMethodgetUpdatedSubStateMachine
(n *hsm.Node, versionedTransition *persistencespb.VersionedTransition)
service/history/replication/sync_state_retriever.go:570
↓ 2 callersMethodgetUserDataClone
( ctx context.Context, rootPartition tqid.Partition, loadCause loadCause, )
service/matching/matching_engine.go:1871
↓ 2 callersMethodgetUserDataLocked
()
service/matching/user_data_manager.go:199
↓ 2 callersMethodgetValue
(name string, metricType dto.MetricType, tags ...metrics.Tag)
common/metrics/metricstest/metricstest.go:177
↓ 2 callersMethodgetVersion
()
service/history/ndc/replication_task.go:36
↓ 2 callersMethodgetVersionHistory
()
service/history/ndc/replication_task.go:44
↓ 2 callersFunctiongetVersionHistoryAndEvents
( ctx context.Context, shardContext historyi.ShardContext, shardID int32, workflowKey definition.WorkflowK
service/history/replication/raw_task_converter.go:432
↓ 2 callersFunctiongetVersionHistoryAndEventsWithNewRun
( ctx context.Context, shardContext historyi.ShardContext, shardID int32, workflowKey definition.WorkflowK
service/history/replication/raw_task_converter.go:475
↓ 2 callersMethodgetVersionSetForAdd
(directive *taskqueuespb.TaskVersionDirective, data *persistencespb.VersioningData)
service/matching/task_queue_partition_manager.go:2367
↓ 2 callersFunctiongetWaitDuration
()
service/worker/replicator/replication_message_processor.go:307
↓ 2 callersFunctiongetWhereCause
(query string)
service/history/workflow/matcher/evaluator.go:14
↓ 2 callersFunctiongetWorkflowContext
(cache Cache, key Key)
service/history/workflow/cache/export_testing.go:27
↓ 2 callersMethodgetWorkflowHistory
getWorkflowHistory loads the workflow history based on given mutable state information from the DB.
service/history/api/startworkflow/api.go:627
↓ 2 callersFunctiongetWorkflowID
(numWorkflows int)
service/worker/parentclosepolicy/client.go:73
↓ 2 callersMethodgetWorkflowLease
( ctx context.Context, consistencyPredicate MutableStateConsistencyPredicate, workflowKey definition.Workfl
service/history/api/consistency_checker.go:275
↓ 2 callersMethodgetWorkflowTaskFinishEventIDAfterChildInit
(env *testcore.TestEnv, wfID string, runID string, childID string)
tests/workflow_reset_with_child_test.go:827
↓ 2 callersFunctionglobalNS
globalNS builds a global (replicated) namespace whose active cluster is activeCluster. Only global namespaces return false from ActiveInCluster when t
service/worker/scanner/scheduleinvariants/invariants_test.go:100
↓ 2 callersMethodgoContext
()
chasm/context.go:232
↓ 2 callersFunctiongoFieldPath
(m *protogen.Method, path string)
cmd/tools/protoc-gen-go-chasm/main.go:154
↓ 2 callersFunctiongobDeserialize
(a []byte, x any)
common/persistence/sql/common.go:93
↓ 2 callersFunctiongroupFailuresByTest
groupFailuresByTest groups failures by normalized test name
tools/flakereport/parser.go:132
↓ 2 callersMethodhandleAlert
(alert *Alert)
service/history/queues/queue_base.go:428
↓ 2 callersFunctionhandleAssignmentRuleNilRamp
handleAssignmentRuleNilRamp mutates and returns rule object to convert nil ramp to 100%
service/matching/version_rule_helpers.go:473
↓ 2 callersMethodhandleCron
( ctx context.Context, backoffInterval time.Duration, lastCompletionResult *commonpb.Payloads, failure *fa
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1476
↓ 2 callersFunctionhandleError
(c *cli.Context, err error)
tools/tdbg/app.go:142
↓ 2 callersMethodhandleError
handleError should be called on errors from worker creation or run. it will attempt to refresh the worker again at a later time.
service/worker/pernamespaceworker.go:338
↓ 2 callersMethodhandleExecutionConflict
( ctx context.Context, shardContext historyi.ShardContext, newExecutionParams newExecutionParams, currentR
service/history/chasm_engine.go:968
↓ 2 callersMethodhandleMessage
( ctx context.Context, message *protocolpb.Message, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:387
↓ 2 callersMethodhandleNamespaceCreationReplicationTask
handleNamespaceCreationReplicationTask handles the namespace creation replication task
common/namespace/nsreplication/replication_task_executor.go:144
↓ 2 callersFunctionhandleOperationError
( node *hsm.Node, operation Operation, opErr *nexus.OperationError, )
components/nexusoperations/completion.go:46
↓ 2 callersMethodhandlePatch
handlePatch creates backfillers to fulfill the given patch request.
chasm/lib/scheduler/scheduler.go:216
↓ 2 callersFunctionhandleSuccessfulOperationResult
( node *hsm.Node, operation Operation, result *commonpb.Payload, links []*commonpb.Link, )
components/nexusoperations/completion.go:21
↓ 2 callersMethodhandleTask
( ctx context.Context, opts *options, task *workflowservice.PollWorkflowTaskQueueResponse, handler func(ta
common/testing/taskpoller/taskpoller.go:449
↓ 2 callersMethodhandleTask
TODO: support cancelling activity task
common/testing/taskpoller/taskpoller.go:597
↓ 2 callersMethodhandleUpdateVersionFailures
(outcome *updatepb.Outcome, deploymentName, buildID string)
service/worker/workerdeployment/client.go:405
↓ 2 callersMethodhasActivityPauseEntries
hasActivityPauseEntries checks if the TemporalPauseInfo search attribute contains any activity pause entries.
tests/pause_workflow_execution_test.go:1880
↓ 2 callersFunctionhasAttr
(attrs map[string]string, key string)
common/persistence/sql/sqlplugin/mysql/session/session.go:185
↓ 2 callersFunctionhasCaller
(req quotas.Request)
common/persistence/client/quotas.go:294
↓ 2 callersMethodhasMoreAllowAllBackfills
()
service/worker/scheduler/workflow.go:853
↓ 2 callersMethodhasNext
hasNext returns true if there are more pages to fetch
service/worker/batcher/activities.go:89
↓ 2 callersFunctionhasValidRamp
hasValidRamp returns true if the rule has a ramp percentage within [0, 100] or a ramp of nil
service/matching/version_rule_helpers.go:481
↓ 2 callersFunctionhasWordAfter
hasWordAfter checks if the given word appears after position pos in s, separated by at least one space, and is a whole word.
common/persistence/query_util.go:216
↓ 2 callersMethodheartbeat
(ctx context.Context)
service/worker/scanner/history/scavenger.go:197
↓ 2 callersMethodhistoryEvents
TODO (maybe): - Funcs like WithTime, WithAttributes, WithPayloadLimit(100) and pass them to PrintHistory - oneof support - enums as strings not as int
common/testing/historyrequire/history_require.go:49
↓ 2 callersMethodhistoryHasEventType
historyHasEventType reports whether the workflow's history contains at least one event of the given type.
tests/pause_workflow_execution_test.go:1818
← previousnext →8,301–8,400 of 43,335, ranked by callers