MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersMethodloadTasks
( ctx context.Context, reqCh chan taskDetail, )
service/worker/scanner/history/scavenger.go:135
↓ 1 callersFunctionloadTestData
loadTestData returns a map of test names to durations in seconds.
tools/optimize-test-sharding/main.go:180
↓ 1 callersMethodloadTimezone
(spec *schedulepb.ScheduleSpec)
service/worker/scheduler/spec.go:249
↓ 1 callersMethodloadUpstreamBuildIds
( targetBuildId string, activeRules []*persistencespb.RedirectRule, )
service/matching/task_queue_partition_manager.go:2092
↓ 1 callersMethodloadUsedDeploymentVersions
()
service/history/workflow/mutable_state_impl.go:3792
↓ 1 callersMethodloadUserDataFromDB
Loads user data from db (called only on initialization of taskQueuePartitionManager).
service/matching/user_data_manager.go:398
↓ 1 callersFunctionlockCurrentExecutionIfExists
lockCurrentExecutionIfExists returns current execution or nil if none is found for the workflowID locking it in the DB
common/persistence/sql/execution_util.go:575
↓ 1 callersMethodlockCurrentWorkflowExecution
( ctx context.Context, )
service/history/api/startworkflow/api.go:232
↓ 1 callersFunctionlockExecution
( ctx context.Context, tx sqlplugin.Tx, shardID int32, namespaceID primitives.UUID, workflowID string, r
common/persistence/sql/execution_util.go:667
↓ 1 callersFunctionlockShard
initiated by the owning shard
common/persistence/sql/shard.go:124
↓ 1 callersFunctionlogDir
(t *testing.T)
tests/mixedbrain/mixed_brain_test.go:31
↓ 1 callersMethodlogError
( req any, fullMethod string, nsName namespace.Name, err error, statusCode codes.Code, isExpectedError b
common/rpc/interceptor/request_error_handler.go:75
↓ 1 callersMethodlogError
( req any, fullMethod string, err error, errorHash string, statusCode codes.Code, )
common/rpc/interceptor/mask_internal_error.go:89
↓ 1 callersMethodlogSchedule
(ctx chasm.MutableContext, logger log.Logger, msg string, generator *Generator, sched *Scheduler)
chasm/lib/scheduler/generator_tasks.go:181
↓ 1 callersFunctionlogSharedStructureWarnings
(logger log.Logger)
common/dynamicconfig/shared_structure.go:25
↓ 1 callersMethodlogSlowRequest
( request any, info *grpc.UnaryServerInfo, elapsed time.Duration, )
common/rpc/interceptor/slow_request_logger.go:54
↓ 1 callersMethodlogger
()
service/matching/task_reader.go:288
↓ 1 callersMethodlongRunningMigrationBackReplicationTaskContainsLocalEventsTestBase
( workflowID string, runID string, supplyBatchIndex int, expectedRetrievingBatchesStartIndex int, // inclu
tests/ndc/replication_migration_back_test.go:218
↓ 1 callersFunctionlookupEndpoint
lookupEndpoint gets an endpoint from the registry, preferring to look up by ID and falling back to name lookup. The fallback is needed because endpoin
chasm/lib/nexusoperation/task_handler_helpers.go:356
↓ 1 callersMethodlookupEndpoint
lookupEndpoint gets an endpoint from the registry, preferring to look up by ID and falling back to name lookup. The fallback is needed because endpoin
chasm/lib/nexusoperation/task_handler_base.go:145
↓ 1 callersFunctionlookupVersionSetForAdd
Looks up a version set in versioning data based on a build ID associated with a task to determine how to redirect a task. For this function, buildId =
service/matching/version_sets.go:389
↓ 1 callersFunctionlookupVersionSetForPoll
Looks up a version set in versioning data based on worker version capabilities to determine how to redirect a poll request. Requires: caps is not nil
service/matching/version_sets.go:331
↓ 1 callersMethodloop
(runningC *chan struct{})
common/stream_batcher/batcher.go:98
↓ 1 callersMethodmakeActivityAndPutIntoFailingState
()
service/history/workflow/mutable_state_impl_restart_activity_test.go:441
↓ 1 callersFunctionmakeDeploymentQuery
(version string)
service/worker/workerdeployment/client.go:1834
↓ 1 callersFunctionmakeFakeContinuedAsNewEvent
( _ context.Context, lastEvent *historypb.HistoryEvent, )
service/history/api/get_history_util.go:588
↓ 1 callersFunctionmakeGetHistoryClient
(reqType reflect.Type, routingOptions *historyservice.RoutingOptions)
cmd/tools/genrpcwrappers/main.go:241
↓ 1 callersFunctionmakeGetMatchingClient
(reqType reflect.Type)
cmd/tools/genrpcwrappers/main.go:315
↓ 1 callersFunctionmakeInitialSet
(tags map[string]string)
common/metrics/otel_metrics_handler.go:241
↓ 1 callersFunctionmakeNexusOperationTerminalEventFilter
(scheduledEventID int64)
components/nexusoperations/workflow/commands.go:343
↓ 1 callersFunctionmakeNexusOperationTerminalEventFilter
(scheduledEventID int64)
chasm/lib/workflow/nexus_commands.go:282
↓ 1 callersMethodmakeReleaseFunc
( cacheKey Key, shardContext historyi.ShardContext, wfContext historyi.WorkflowContext, forceClearContext
service/history/workflow/cache/cache.go:350
↓ 1 callersFunctionmakeResponseWithScheduledWorkflowAttributes
(nameValueMap map[string]string)
service/frontend/workflow_handler_second_test.go:158
↓ 1 callersMethodmakeSchemaVersionDirs
(rootDir string, sqlFileContent string)
tools/common/schema/test/updatetest.go:120
↓ 1 callersFunctionmakeSearchAttributesProviderStub
( controller *gomock.Controller, custom map[string]enumspb.IndexedValueType, )
service/frontend/workflow_handler_second_test.go:142
↓ 1 callersFunctionmakeValidationFn
makeValidationFn adapts the TaskValidator interface to the ComponentRef's validation callback format. Returns a validation function that wraps the giv
chasm/tree.go:3581
↓ 1 callersFunctionmakeVisibilityManagerStub
(controller *gomock.Controller)
service/frontend/workflow_handler_second_test.go:152
↓ 1 callersMethodmakeWorkflowFunc
(activityFunction ActivityFunctions)
tests/xdc/activity_api_test.go:246
↓ 1 callersFunctionmangle
(p string)
cmd/tools/getproto/main.go:68
↓ 1 callersMethodmapKey
(index int)
common/testing/objectleak/path.go:32
↓ 1 callersMethodmapKeyToString
(keyV reflect.Value)
chasm/tree.go:972
↓ 1 callersMethodmarkHasSubtests
()
common/testing/parallelsuite/guard.go:43
↓ 1 callersFunctionmaskMap
(m map[string]any, fns map[string]struct{})
common/masker/masker.go:73
↓ 1 callersMethodmatchDLQErrorPattern
(err error)
service/history/queues/executable.go:600
↓ 1 callersMethodmatchObject
(obj trackedObject)
common/testing/objectleak/pattern.go:35
↓ 1 callersMethodmatchType
(t reflect.Type)
common/testing/objectleak/pattern.go:56
↓ 1 callersMethodmatchesObject
(obj trackedObject)
common/testing/objectleak/pattern.go:31
↓ 1 callersMethodmaxHistoryCountExceeded
Returns true if the workflow is running and history event count should trigger a forced termination Prints a log message if history event count is ove
service/history/workflow/context.go:1096
↓ 1 callersMethodmaxHistorySizeExceeded
Returns true if the workflow is running and history size should trigger a forced termination Prints a log message if history size is over the error or
service/history/workflow/context.go:1058
↓ 1 callersMethodmaxMutableStateSizeExceeded
Returns true if the workflow is running and mutable state size should trigger a forced termination Prints a log message if mutable state size is over
service/history/workflow/context.go:1132
↓ 1 callersMethodmaxTaskID
maxTaskID returns the maximum value of the TaskID present in testTaskManager
service/matching/matching_engine_test.go:5310
↓ 1 callersMethodmaybeGCLocked
gc
service/matching/fair_task_reader.go:667
↓ 1 callersMethodmaybeGCLocked
gc
service/matching/pri_task_reader.go:495
↓ 1 callersMethodmaybeGrow
()
service/matching/counter/cmsketch.go:141
↓ 1 callersFunctionmaybeHostDownError
(opErr error)
client/history/caching_redirector.go:222
↓ 1 callersMethodmaybeRecordShardAcquisitionLatency
(ownershipChanged bool)
service/history/shard/context_impl.go:1439
↓ 1 callersMethodmaybeUpdateFailoverHistory
maybeUpdateFailoverHistory adds an entry if the Namespace is becoming active in a new cluster.
service/frontend/namespace_handler.go:1074
↓ 1 callersMethodmembershipPorts
()
tests/mixedbrain/config_util.go:71
↓ 1 callersMethodmergeByRange
(incomingSlice *SliceImpl)
service/history/queues/slice.go:201
↓ 1 callersMethodmergeMessages
mergeMessages from the DLQ up to and including the specified message ID, blocking until the merge workflow completes.
tests/dlq_test.go:470
↓ 1 callersMethodmergeMetadataFromDBWithStaticConfig
(svc *config.Config, clusterName string, newMetadata *cluster.ClusterInformation)
temporal/cluster_metadata_loader.go:44
↓ 1 callersFunctionmergeTags
(oldTags, newTags []tag.Tag)
common/log/zap_logger.go:221
↓ 1 callersMethodmergeTasks
( ctx workflow.Context, params MergeParams, lastProcessedMessageID *int64, numberOfMessagesProcessed *int6
service/worker/dlq/workflow.go:269
↓ 1 callersFunctionmessage
(level Level, msg string, tags []tag.Tag)
common/testing/testlogger/testlogger.go:683
↓ 1 callersFunctionmethodEntryFromDescriptor
methodEntryFromDescriptor extracts the routing key accessor for a method. Returns (entry, ok=true) if the method has a concrete field path annotation,
cmd/tools/genroutingkeyextractor/main.go:79
↓ 1 callersMethodmetricEmissionLoop
()
service/history/queues/scheduler_monitor.go:118
↓ 1 callersFunctionmigrateOldFormatVersions
migrateOldFormatVersions moves versions present in the given deployment from the deprecated old-format slice into the new per-deployment map. nolint:
service/matching/matching_engine.go:3654
↓ 1 callersMethodmigrateScheduleToChasm
( ctx context.Context, request *adminservice.MigrateScheduleRequest, namespaceID string, )
service/frontend/admin_handler.go:2557
↓ 1 callersMethodmigrateScheduleToWorkflow
( ctx context.Context, request *adminservice.MigrateScheduleRequest, namespaceID string, )
service/frontend/admin_handler.go:2582
↓ 1 callersFunctionmigrateSchedulesFromStdin
migrateSchedulesFromStdin reads JSON lines from stdin, one {"namespace","schedule_id"} per line, feeding them to a pool of --workers goroutines that m
tools/tdbg/commands.go:1077
↓ 1 callersFunctionmigrateSchedulesFromVisibility
migrateSchedulesFromVisibility selects schedules via a visibility query and migrates each. When --query is not supplied the default query is chosen fr
tools/tdbg/commands.go:966
↓ 1 callersFunctionmigrateSingleSchedule
migrateSingleSchedule migrates one schedule and performs the migration immediately.
tools/tdbg/commands.go:940
↓ 1 callersMethodmigrateToCMS
()
service/matching/counter/hybrid.go:67
↓ 1 callersFunctionminNonZeroTime
minNonZeroTime returns the minimum time of a and b, ignoring zero times. If both a and b are zero, it returns zero.
service/matching/backlog_age_tracker.go:53
↓ 1 callersMethodminPriority
()
service/matching/pri_matcher.go:701
↓ 1 callersMethodminTaskID
minTaskID returns the minimum value of the TaskID present in testTaskManager
service/matching/matching_engine_test.go:5300
↓ 1 callersFunctionmkNewDeleteAssignmentReq
(ruleIdx int32, force bool)
service/matching/version_rule_test.go:39
↓ 1 callersFunctionmkNewDeleteRedirectReq
(source string)
service/matching/version_rule_test.go:81
↓ 1 callersFunctionmkNewInsertAssignmentReq
(rule *taskqueuepb.BuildIdAssignmentRule, ruleIdx int32)
service/matching/version_rule_test.go:24
↓ 1 callersFunctionmkNewInsertRedirectReq
(rule *taskqueuepb.CompatibleBuildIdRedirectRule)
service/matching/version_rule_test.go:69
↓ 1 callersFunctionmkNewReplaceAssignmentReq
(rule *taskqueuepb.BuildIdAssignmentRule, ruleIdx int32, force bool)
service/matching/version_rule_test.go:31
↓ 1 callersFunctionmkNewReplaceRedirectReq
(rule *taskqueuepb.CompatibleBuildIdRedirectRule)
service/matching/version_rule_test.go:75
↓ 1 callersFunctionmkNewSet
(id string, clock *clockspb.HybridLogicalClock)
service/matching/version_sets_test.go:18
↓ 1 callersMethodmodifyHistoryServiceFile
()
cmd/tools/protogen/main.go:311
↓ 1 callersMethodmodifyMatchingServiceFile
()
cmd/tools/protogen/main.go:333
↓ 1 callersMethodmonitorQueueMetrics
()
service/history/shard/context_impl.go:1201
↓ 1 callersMethodmonitorStreamStatus
()
service/history/replication/stream_receiver_monitor.go:312
↓ 1 callersMethodmoveClockBeyondActivityExpirationTime
()
service/history/workflow/mutable_state_impl_restart_activity_test.go:267
↓ 1 callersMethodmoveGeneratedChasmFiles
()
cmd/tools/protogen/main.go:352
↓ 1 callersMethodmoveProtoFiles
()
cmd/tools/protogen/main.go:347
↓ 1 callersFunctionmustConvertBatchType
(batchType BatchType)
common/persistence/nosql/nosqlplugin/cassandra/gocql/batch.go:48
↓ 1 callersFunctionmustConvertConsistency
(c Consistency)
common/persistence/nosql/nosqlplugin/cassandra/gocql/consistency.go:28
↓ 1 callersFunctionmustNewWorkflowServiceNexusHandler
( handler *workflowServiceNexusHandler, )
chasm/lib/workflow/nexus_service.go:60
↓ 1 callersFunctionmustParseRanges
(ranges map[string]string)
common/headers/version_checker.go:165
↓ 1 callersMethodname
()
common/testing/objectleak/report.go:200
↓ 1 callersFunctionneedRegenerateRetryTask
(ai *persistencespb.ActivityInfo, scheduleNewRun bool)
service/history/workflow/activity.go:518
↓ 1 callersMethodneedRunCleanUp
( request *manager.VisibilityRequestBase, )
service/history/visibility_queue_task_executor.go:304
↓ 1 callersFunctionneedsCallback
(start *schedulespb.BufferedStart)
chasm/lib/scheduler/scheduler_tasks.go:342
↓ 1 callersFunctionnewAccepted
(id string, acceptedEventID int64, opts ...updateOpt)
service/history/workflow/update/update.go:102
↓ 1 callersMethodnewActivities
(name namespace.Name, id namespace.ID, details workercommon.RegistrationDetails)
service/worker/scheduler/fx.go:129
← previousnext →12,201–12,300 of 43,335, ranked by callers