MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 1 callersMethodtryEvictAndGetPreviousElement
(entry *entryImpl, element *list.Element)
common/cache/lru.go:416
↓ 1 callersMethodtryEvictUntilCacheSizeUnderLimit
tryEvictUntilCacheSizeUnderLimit tries to evict entries until c.currSize is less than c.maxSize.
common/cache/lru.go:393
↓ 1 callersFunctiontryFindOneNestedField
(t reflect.Type, name string, path string, maxDepth int)
cmd/tools/genrpcwrappers/main.go:200
↓ 1 callersMethodtryInsert
( ctx context.Context, queueType persistence.QueueV2Type, queueName string, blob *commonpb.DataBlob, mess
common/persistence/cassandra/queue_v2_store.go:338
↓ 1 callersMethodtryLock
()
service/matching/task_gc.go:95
↓ 1 callersFunctiontryParseDataRace
tryParseDataRace parses a data race alert at position i if present.
tools/testrunner/log.go:226
↓ 1 callersFunctiontryParseFatal
tryParseFatal parses a runtime fatal error alert at position i if present.
tools/testrunner/log.go:277
↓ 1 callersFunctiontryParsePanic
tryParsePanic parses a non-timeout panic alert at position i if present.
tools/testrunner/log.go:263
↓ 1 callersMethodtrySetRPSFromUserDataLocked
trySetRPSFromUserDataLocked sets the apiConfigRPS from user data. Called exclusively in response to updates in user data.
service/matching/ratelimit_manager.go:219
↓ 1 callersFunctiontryVisibilityMapper
tryVisibilityMapper might find a successful match in which case we return it otherwise we continue with the fallback logic.
common/persistence/visibility/store/query/resolve.go:57
↓ 1 callersMethodtryWatchWorkflow
(ctx context.Context, req *schedulespb.WatchWorkflowRequest)
service/worker/scheduler/activities.go:108
↓ 1 callersFunctiontweakablesFromContext
tweakablesFromContext returns the scheduler Tweakables for the context's namespace, falling back to DefaultTweakables when no config is registered.
chasm/lib/scheduler/config.go:42
↓ 1 callersMethodtxExecute
(ctx context.Context, operation string, f func(tx sqlplugin.Tx) error)
common/persistence/sql/task_user_data.go:157
↓ 1 callersMethodunaliasAndValidateSearchAttributes
(historyBatches []*commonpb.DataBlob, nsName namespace.Name)
service/frontend/admin_handler.go:727
↓ 1 callersMethodunaryMetricsHandlerLogTags
(req any, fullMethod string, methodName string, nsName namespace.Name)
common/rpc/interceptor/telemetry.go:384
↓ 1 callersFunctionunfairness
(vs []int)
tests/priority_fairness_test.go:606
↓ 1 callersMethoduniqueString
(key string)
common/testing/testvars/test_vars.go:87
↓ 1 callersMethodunloadTaskQueue
( env *testcore.TestEnv, tq string, )
tests/versioning_test.go:4998
↓ 1 callersMethodunlock
()
service/matching/task_gc.go:99
↓ 1 callersMethodunpinAckLevel
(writeErr error)
service/matching/fair_task_reader.go:635
↓ 1 callersMethodunregisterBacklogTask
(task *internalTask)
service/matching/matcher.go:573
↓ 1 callersMethodunsetPreviousRamp
nolint:staticcheck // SA1019
service/worker/workerdeployment/workflow.go:1057
↓ 1 callersMethodunsetRamp
nolint:staticcheck // SA1019
service/worker/workerdeployment/workflow.go:935
↓ 1 callersFunctionunsetRampingFromRoutingConfig
( workerDeploymentData *persistencespb.WorkerDeploymentData, )
service/matching/matching_engine.go:3755
↓ 1 callersMethodunversionedWorkflowStaysUnversioned
(env *testcore.TestEnv)
tests/versioning_test.go:667
↓ 1 callersMethodupdateAckLevel
( ctx context.Context, lastProcessedMessageID int64, clusterName string, isDLQ bool, )
common/persistence/namespace_replication_queue.go:182
↓ 1 callersMethodupdateAddTarget
( cfg dynamicconfig.SimplePartitionScalerSettings, target int, )
service/matching/simple_partition_scaler.go:114
↓ 1 callersMethodupdateAsCurrent
( ctx context.Context, targetWorkflow Workflow, newWorkflow Workflow, )
service/history/ndc/transaction_manager_existing_workflow.go:213
↓ 1 callersMethodupdateAsZombie
( ctx context.Context, currentWorkflow Workflow, targetWorkflow Workflow, newWorkflow Workflow, archetype
service/history/ndc/transaction_manager_existing_workflow.go:231
↓ 1 callersMethodupdateBacklogAge
(task *internalTask)
service/matching/task_reader.go:70
↓ 1 callersMethodupdateBinaryChecksumSearchAttribute
()
service/history/workflow/mutable_state_impl.go:3547
↓ 1 callersFunctionupdateBufferedEvents
( ctx context.Context, tx sqlplugin.Tx, batch *commonpb.DataBlob, shardID int32, namespaceID primitives.U
common/persistence/sql/execution_state_non_map.go:101
↓ 1 callersFunctionupdateBufferedEvents
( batch *gocql.Batch, newBufferedEvents *commonpb.DataBlob, clearBufferedEvents bool, shardID int32, name
common/persistence/cassandra/util.go:1075
↓ 1 callersMethodupdateChannelWeightLocked
()
common/tasks/interleaved_weighted_round_robin.go:322
↓ 1 callersMethodupdateComponent
( ctx context.Context, ref chasm.ComponentRef, updateFn func(chasm.MutableContext, chasm.Component) error,
service/history/chasm_engine.go:531
↓ 1 callersMethodupdateContext
( batch []Vertex, )
common/testing/event_generator.go:221
↓ 1 callersMethodupdateCustomSearchAttributes
(searchAttributes *commonpb.SearchAttributes)
service/worker/scheduler/workflow.go:1195
↓ 1 callersMethodupdateDrainState
(ctx context.Context)
service/matching/scale_manager.go:321
↓ 1 callersMethodupdateEphemeralDataIteration
(prevBacklogPriority map[PhysicalTaskQueueVersion]int64)
service/matching/task_queue_partition_manager.go:1520
↓ 1 callersFunctionupdateErrorMetric
(handler metrics.Handler, logger log.Logger, operation string, err error)
common/persistence/persistence_metric_clients.go:1436
↓ 1 callersMethodupdateEvents
( item *ReplicationProgress, eventVersionHistoryItems []*historyspb.VersionHistoryItem, )
service/history/replication/progress_cache.go:112
↓ 1 callersMethodupdateExecution
( ctx context.Context, shardContext historyi.ShardContext, executionLease api.WorkflowLease, executionRef
service/history/chasm_engine.go:362
↓ 1 callersMethodupdateHandoverNamespacePendingTaskID
()
service/history/shard/context_impl.go:1734
↓ 1 callersMethodupdateIndexMappings
updateIndexMappings updates the mappings of an existing index using raw HTTP request
tools/elasticsearch/tasks.go:153
↓ 1 callersMethodupdateKeysFromURI
( uri string, rsaKeys map[string]*rsa.PublicKey, ecKeys map[string]*ecdsa.PublicKey, )
common/authorization/default_token_key_provider.go:138
↓ 1 callersMethodupdateLastTask
(task *batchedTask)
service/history/replication/sequential_batch_queue.go:91
↓ 1 callersMethodupdateMaxResultWindow
(env *testcore.TestEnv)
tests/advanced_visibility_test.go:2654
↓ 1 callersMethodupdateMemo
( updatedMemo map[string]*commonpb.Payload, )
service/history/workflow/mutable_state_impl.go:7610
↓ 1 callersMethodupdateMemoAndSearchAttributes
()
service/worker/scheduler/workflow.go:1242
↓ 1 callersMethodupdateQueue
( ctx context.Context, q *Queue, queueType persistence.QueueV2Type, queueName string, )
common/persistence/cassandra/queue_v2_store.go:305
↓ 1 callersMethodupdateQueueState
( tasksCompleted int, readerScopes map[int64][]Scope, )
service/history/queues/queue_base.go:392
↓ 1 callersMethodupdateRatelimitLocked
updateRatelimitLocked checks and updates the overall queue rate limit if changed.
service/matching/ratelimit_manager.go:247
↓ 1 callersMethodupdateRefreshTimer
()
common/persistence/client/health_request_rate_limiter.go:147
↓ 1 callersMethodupdateRegistrySize
(size int)
service/history/workflow/update/util.go:95
↓ 1 callersMethodupdateResult
updateResult returns the update result sent by the worker in this cluster.
tests/xdc/history_replication_signals_and_updates_test.go:853
↓ 1 callersMethodupdateScheduleCHASM
( ctx context.Context, request *workflowservice.UpdateScheduleRequest, )
service/frontend/workflow_handler.go:4623
↓ 1 callersMethodupdateScheduleWorkflow
( ctx context.Context, request *workflowservice.UpdateScheduleRequest, )
service/frontend/workflow_handler.go:4643
↓ 1 callersMethodupdateSchemaVersion
(oldVer string, cs *changeSet)
tools/common/schema/updatetask.go:156
↓ 1 callersMethodupdateShardRangeID
()
service/history/queues/queue_base.go:359
↓ 1 callersMethodupdateStates
( item *ReplicationProgress, versionedTransitions []*persistencespb.VersionedTransition, )
service/history/replication/progress_cache.go:80
↓ 1 callersMethodupdateUserData
UpdateUserData allows callers to update user data (such as worker build IDs) for this task queue. The pointer passed to the update function is guarant
service/matching/user_data_manager.go:512
↓ 1 callersFunctionupdateVersionSetImpl
nolint:revive // cyclomatic complexity
service/matching/version_sets.go:183
↓ 1 callersMethodupdateVersioningData
(data *persistencespb.VersioningData)
service/matching/task_queue_partition_manager_test.go:2085
↓ 1 callersMethodupdateWithLastWriteEvent
( lastEvent *historypb.HistoryEvent, transactionPolicy historyi.TransactionPolicy, )
service/history/workflow/mutable_state_impl.go:8607
↓ 1 callersMethodupdateWithStartExecution
( ctx context.Context, executionRef chasm.ComponentRef, startFn func(chasm.MutableContext) (chasm.RootCompo
service/history/chasm_engine.go:281
↓ 1 callersMethodupdateWithStartWorkerDeploymentVersion
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName, buildID string, updateRequest
service/worker/workerdeployment/client.go:1543
↓ 1 callersFunctionupdateWorkflowExecution
( ctx context.Context, shardContext historyi.ShardContext, updateWorkflowFailoverVersion int64, newWorkflo
service/history/workflow/transaction_impl.go:506
↓ 1 callersMethodupdateWorkflowExecutionEventReapply
( ctx context.Context, shardContext historyi.ShardContext, updateMode persistence.UpdateWorkflowMode, even
service/history/workflow/context.go:821
↓ 1 callersMethodupdateWorkflowExecutionTx
( ctx context.Context, tx sqlplugin.Tx, request *p.InternalUpdateWorkflowExecutionRequest, )
common/persistence/sql/execution.go:360
↓ 1 callersMethodupsertHeartbeats
upsertHeartbeat records or refreshes a WorkerHeartbeat under the given namespace. New entries increment the global counter.
service/matching/workers/registry_impl.go:272
↓ 1 callersMethoduserDataChanged
(to *persistencespb.VersionedTaskQueueUserData)
service/matching/task_queue_partition_manager.go:2450
↓ 1 callersMethoduserDataFetchSource
()
service/matching/user_data_manager.go:258
↓ 1 callersMethoduuidNSetter
Generate new uuid for every new n.
common/testing/testvars/test_vars.go:74
↓ 1 callersMethodvalidate
(rawURL string)
components/callbacks/config.go:59
↓ 1 callersMethodvalidate
( mutableState *MutableState, )
service/worker/scanner/executions/task.go:134
↓ 1 callersMethodvalidate
()
temporaltest/internal/lite_server.go:186
↓ 1 callersFunctionvalidateAcceptanceMsg
(msg *updatepb.Acceptance)
service/history/workflow/update/validation.go:72
↓ 1 callersMethodvalidateAccessHelper
validateAccessHelper is a helper method that validates both the current node's lifecycle state AND its ancestors recursively. Do not call this method
chasm/tree.go:522
↓ 1 callersMethodvalidateActivity
( activityInfos map[int64]*persistencespb.ActivityInfo, lastEventID int64, )
service/worker/scanner/executions/mutable_state_validator.go:119
↓ 1 callersFunctionvalidateActivityRetryPolicy
( namespaceID namespace.ID, retryPolicy *commonpb.RetryPolicy, getDefaultActivityRetrySettings dynamicconfi
chasm/lib/activity/validator.go:135
↓ 1 callersMethodvalidateActivityRetryPolicy
( namespaceID namespace.ID, retryPolicy *commonpb.RetryPolicy, )
service/history/api/command_attr_validator.go:553
↓ 1 callersFunctionvalidateAdminBatchOperation
(params *adminservice.StartAdminBatchOperationRequest)
service/frontend/admin_handler.go:1709
↓ 1 callersFunctionvalidateAndNormalizeIDPolicy
(req *workflowservice.StartActivityExecutionRequest)
chasm/lib/activity/validator.go:217
↓ 1 callersFunctionvalidateAndNormalizeSearchAttributes
( req *workflowservice.StartNexusOperationExecutionRequest, saMapperProvider searchattribute.MapperProvider,
chasm/lib/nexusoperation/validator.go:318
↓ 1 callersFunctionvalidateAndNormalizeSearchAttributes
( req *workflowservice.StartActivityExecutionRequest, saMapperProvider searchattribute.MapperProvider, saVa
chasm/lib/activity/validator.go:281
↓ 1 callersFunctionvalidateAndNormalizeTimeouts
( activityID string, activityType string, runTimeout *durationpb.Duration, options *activitypb.ActivityOpt
chasm/lib/activity/validator.go:149
↓ 1 callersFunctionvalidateAndSetNamespaceHandoverParams
(params *NamespaceHandoverParams)
service/worker/migration/handover_workflow.go:188
↓ 1 callersMethodvalidateAndSetReceiverMode
Receiver mode can only be set once for the lifetime of the receiver. Receiver mode is set when receiver receive the first task. If the first task is p
service/history/replication/stream_receiver.go:467
↓ 1 callersMethodvalidateBuildIdCompatibilityUpdate
nolint:revive // cyclomatic complexity
service/frontend/workflow_handler.go:6396
↓ 1 callersFunctionvalidateCQLStmts
(stmts []string)
tools/common/schema/updatetask.go:251
↓ 1 callersMethodvalidateCachedState
validateCachedState clears cached fields whenever the Scheduler's ConflictToken doesn't match its cacheConflictToken field. Validation is only as effe
chasm/lib/scheduler/scheduler.go:453
↓ 1 callersFunctionvalidateCatchupParams
(params *CatchUpParams)
service/worker/migration/catchup_workflow.go:50
↓ 1 callersMethodvalidateChildWorkflow
( childExecutionInfos map[int64]*persistencespb.ChildExecutionInfo, lastEventID int64, )
service/worker/scanner/executions/mutable_state_validator.go:161
↓ 1 callersFunctionvalidateCoefficient
(coefficient float64)
common/backoff/jitter.go:23
↓ 1 callersFunctionvalidateCompletion
(completion *tokenspb.NexusOperationCompletion)
common/nexus/callback_token.go:72
↓ 1 callersMethodvalidateConflictToken
(token []byte)
chasm/lib/scheduler/scheduler.go:927
↓ 1 callersMethodvalidateCreateWorkerDeployment
(args *deploymentspb.CreateWorkerDeploymentArgs)
service/worker/workerdeployment/workflow.go:464
↓ 1 callersMethodvalidateCreateWorkerDeploymentVersion
(args *deploymentspb.CreateWorkerDeploymentVersionArgs)
service/worker/workerdeployment/workflow.go:509
↓ 1 callersFunctionvalidateDeleteRequest
(request *operatorservice.DeleteNexusEndpointRequest)
service/frontend/nexus_endpoint_client.go:386
↓ 1 callersMethodvalidateDeploymentOptions
(deploymentOptions *deploymentpb.WorkerDeploymentOptions)
service/frontend/workflow_handler.go:6378
← previousnext →13,301–13,400 of 43,335, ranked by callers