retrypolicy.go ×1

Frontier kind: Joint frontier

unlabeled · c_aa7fcc4d571a

26 tests · 22 LOC · 1 file · introduces 1 test · 3 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range3 lines · 1 files
Tests
1 test

Contains — complete concept membership

All code (extent)
4 ranges22 lines · 1 file · Browse complete extent
All tests (intent)
26 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.

Introduced files, introduced tests, and structurally relevant concept specializationTestNamespaceReplicationDLQ · 0 introduced LOCTestNamespaceReplication…namespace_replication_queue.go ×1 · 5 introduced LOCnamespace_replication_qu…TestNamespaceReplicationDLQ · 0 introduced LOCTestNamespaceReplication…TestNamespaceReplicationQueue · 0 introduced LOCTestNamespaceReplication…persistence_test_base.go ×1 · 3 introduced LOCpersistence_test_base.go…TestNamespaceReplicationDLQ · 0 introduced LOCTestNamespaceReplication…TestNamespaceReplicationQueue · 0 introduced LOCTestNamespaceReplication…TestNamespaceReplicationQueue · 0 introduced LOCTestNamespaceReplication…queue.go ×1 · 9 introduced LOCqueue.go ×1queue.go ×1 · 14 introduced LOCqueue.go ×1queue_store.go ×9 · 40 introduced LOCqueue_store.go ×9queue.go ×1 · 2 introduced LOCqueue.go ×1queue_store.go ×5 · 24 introduced LOCqueue_store.go ×5queue_store.go ×7 · 30 introduced LOCqueue_store.go ×7queue.go ×1 · 2 introduced LOCqueue.go ×1factory.go ×1 · 2 introduced LOCfactory.go ×1user_data_manager.go ×10 · 34 introduced LOCuser_data_manager.go ×10Namespace_limit_hit_DeleteMessageFromDLQ · 0 introduced LOCNamespace_limit_hit_Dele…Shard_limit_hit_DeleteMessageFromDLQ · 0 introduced LOCShard_limit_hit_DeleteMe…System_limit_hit_DeleteMessageFromDLQ · 0 introduced LOCSystem_limit_hit_DeleteM…factory.go ×1 · 3 introduced LOCfactory.go ×1factory.go ×1 · 2 introduced LOCfactory.go ×1TestTransitionCancellationAttemptFailed · 0 introduced LOCTestTransitionCancellati…NewClusterMetadataPersistenceRetryableClient · 0 introduced LOCNewClusterMetadataPersis…NewExecutionPersistenceRetryableClient · 0 introduced LOCNewExecutionPersistenceR…NewMetadataPersistenceRetryableClient · 0 introduced LOCNewMetadataPersistenceRe…NewShardPersistenceRetryableClient · 0 introduced LOCNewShardPersistenceRetry…data_interfaces_mock.go ×2 · 11 introduced LOCdata_interfaces_mock.go …store_mock.go ×2 · 10 introduced LOCstore_mock.go ×2persistence_retryable_clients.go ×1 · 9 introduced LOCpersistence_retryable_cl…retrypolicy.go ×1 · 4 introduced LOCretrypolicy.go ×1retrypolicy.go ×5 · 20 introduced LOCretrypolicy.go ×5TestConditionalRetryPolicy · 0 introduced LOCTestConditionalRetryPoli…retrypolicy.go ×1 · 2 introduced LOCretrypolicy.go ×1retrypolicy.go ×2 · 3 introduced LOCretrypolicy.go ×2retrypolicy.go ×3 · 19 introduced LOCretrypolicy.go ×3TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/backoff/retrypolicy.go · 347 LOCbackoff/retrypolicy.gogo.temporal.io/server/common/persistence/cassandra/queue_store.go · 412 LOCcassandra/queue_store.gogo.temporal.io/server/common/persistence/client/factory.go · 301 LOCclient/factory.gogo.temporal.io/server/common/persistence/data_interfaces_mock.go · 1462 LOCpersistence/data_interfa…go.temporal.io/server/common/persistence/mock/store_mock.go · 1698 LOCmock/store_mock.gogo.temporal.io/server/common/persistence/namespace_replication_queue.go · 331 LOCpersistence/namespace_re…go.temporal.io/server/common/persistence/persistence-tests/persistence_test_base.go · 448 LOCpersistence-tests/persis…go.temporal.io/server/common/persistence/persistence_rate_limited_clients.go · 1186 LOCpersistence/persistence_…go.temporal.io/server/common/persistence/persistence_retryable_clients.go · 1262 LOCpersistence/persistence_…go.temporal.io/server/common/persistence/sql/queue.go · 391 LOCsql/queue.gogo.temporal.io/server/common/persistence/sql/sqlplugin/mysql/queue.go · 164 LOCmysql/queue.gogo.temporal.io/server/common/persistence/sql/sqlplugin/postgresql/queue.go · 156 LOCpostgresql/queue.gogo.temporal.io/server/service/matching/user_data_manager.go · 878 LOCmatching/user_data_manag…TestTransitionCancellationAttemptFailed · introduced test · go.temporal.io/server/chasm/lib/nexusoperation/TestTransitionCancellationAttemptFailedTestTransitionCancellati…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestAddJitter · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestAddJitterTestAddJitterTestConditionalRetryPolicy · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestConditionalRetryPolicyTestConditionalRetryPoli…TestConstantDelayPolicy · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestConstantDelayPolicyTestConstantDelayPolicyTestErrorDependentPolicy · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestErrorDependentPolicyTestErrorDependentPolicyNewClusterMetadataPersistenceRetryableClient · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewClusterMetadataPersistenceRetryableClientNewClusterMetadataPersis…NewExecutionPersistenceRetryableClient · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewExecutionPersistenceRetryableClientNewExecutionPersistenceR…NewMetadataPersistenceRetryableClient · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewMetadataPersistenceRetryableClientNewMetadataPersistenceRe…NewNexusEndpointPersistenceRetryableClient( · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewNexusEndpointPersistenceRetryableClient(NewNexusEndpointPersiste…NewQueuePersistenceRetryableClient( · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewQueuePersistenceRetryableClient(NewQueuePersistenceRetry…NewShardPersistenceRetryableClient · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewShardPersistenceRetryableClientNewShardPersistenceRetry…NewTaskPersistenceRetryableClient · introduced test · go.temporal.io/server/common/persistence/TestPersistence_RetryDataLossErrors/NewTaskPersistenceRetryableClientNewTaskPersistenceRetrya…Namespace_limit_hit_DeleteMessageFromDLQ · introduced test · go.temporal.io/server/common/persistence/client/TestRateLimitedPersistenceClients/Namespace_limit_hit/Namespace_limit_hit_DeleteMessageFromDLQNamespace_limit_hit_Dele…Shard_limit_hit_DeleteMessageFromDLQ · introduced test · go.temporal.io/server/common/persistence/client/TestRateLimitedPersistenceClients/Shard_limit_hit/Shard_limit_hit_DeleteMessageFromDLQShard_limit_hit_DeleteMe…System_limit_hit_DeleteMessageFromDLQ · introduced test · go.temporal.io/server/common/persistence/client/TestRateLimitedPersistenceClients/System_limit_hit/System_limit_hit_DeleteMessageFromDLQSystem_limit_hit_DeleteM…TestNamespaceReplicationDLQ · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraQueuePersistence/TestNamespaceReplicationDLQTestNamespaceReplication…TestNamespaceReplicationQueue · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraQueuePersistence/TestNamespaceReplicationQueueTestNamespaceReplication…TestNamespaceReplicationDLQ · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLQueuePersistence/TestNamespaceReplicationDLQTestNamespaceReplication…TestNamespaceReplicationQueue · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLQueuePersistence/TestNamespaceReplicationQueueTestNamespaceReplication…TestNamespaceReplicationDLQ · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLQueuePersistence/TestNamespaceReplicationDLQTestNamespaceReplication…TestNamespaceReplicationQueue · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLQueuePersistence/TestNamespaceReplicationQueueTestNamespaceReplication…TestNamespaceReplicationDLQ · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLQueuePersistence/TestNamespaceReplicationDLQTestNamespaceReplication…TestNamespaceReplicationQueue · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLQueuePersistence/TestNamespaceReplicationQueueTestNamespaceReplication…TestNamespaceReplicationDLQ · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLQueuePersistence/TestNamespaceReplicationDLQTestNamespaceReplication…TestNamespaceReplicationQueue · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLQueuePersistence/TestNamespaceReplicationQueueTestNamespaceReplication…TestUserData_CheckPropagation · introduced test · go.temporal.io/server/service/matching/TestUserData_CheckPropagationTestUserData_CheckPropag…Focused concept · retrypolicy.go ×1 · 3 introduced LOCretrypolicy.go ×1

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.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 3 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/backoff/retrypolicy.go 3 introduced LOC · 1 range

Open complete file

293 }
294
295 > func addJitter(duration time.Duration, jitterPct float64) time.Duration { retrypolicy.go
296 > return duration * time.Duration(1+jitterPct*rand.Float64())
297 > }
298
299 func getJitterRand() *rand.Rand {