retrypolicy.go ×1

Frontier kind: Code frontier

unlabeled · c_10d8c9932ab3

47 tests · 65 LOC · 1 file · introduces 0 tests · 2 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range2 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
18 ranges65 lines · 1 file · Browse complete extent
All tests (intent)
47 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 specializationmetric_client.go ×3 · 18 introduced LOCmetric_client.go ×3TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentlyCreateAndAppendBranches · 0 introduced LOCTestConcurrentlyCreateAn…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…metadata_persistence_v2.go ×4 · 111 introduced LOCmetadata_persistence_v2.…TestConcurrentUpdateNamespace · 0 introduced LOCTestConcurrentUpdateName…TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…TestCASFailureUpdateNamespace · 0 introduced LOCTestCASFailureUpdateName…TestRenameNamespaceWithNameConflict · 0 introduced LOCTestRenameNamespaceWithN…metadata_store.go ×1 · 2 introduced LOCmetadata_store.go ×1metadata_store.go ×1 · 2 introduced LOCmetadata_store.go ×1TestUpdateNamespaceNotFound · 0 introduced LOCTestUpdateNamespaceNotFo…metadata.go ×1 · 2 introduced LOCmetadata.go ×1metadata.go ×1 · 6 introduced LOCmetadata.go ×1history_v2_persistence.go ×5 · 136 introduced LOChistory_v2_persistence.g…metadata.go ×1 · 2 introduced LOCmetadata.go ×1metadata_persistence_v2.go ×2 · 138 introduced LOCmetadata_persistence_v2.…metadata_persistence_v2.go ×1 · 93 introduced LOCmetadata_persistence_v2.…metadata_persistence_v2.go ×1 · 98 introduced LOCmetadata_persistence_v2.…TestAcquireShardNonOwnershipLostErrorIsRetried · 0 introduced LOCTestAcquireShardNonOwner…flag_off_caps_at_2_attempts · 0 introduced LOCflag_off_caps_at_2_attem…TestCreateHistoryClientRetryPolicy_MixedErrorSequence · 0 introduced LOCTestCreateHistoryClientR…TestCreateMatchingClientRetryPolicy_SystemREGating · 0 introduced LOCTestCreateMatchingClient…flag_on_+_namespace_RE_follows_the_cap · 0 introduced LOCflag_on_+_namespace_RE_f…flag_on_+_non-RE_retryable_follows_the_cap · 0 introduced LOCflag_on_+_non-RE_retryab…flag_off_+_system_RE_follows_the_cap · 0 introduced LOCflag_off_+_system_RE_fol…TestThrottleRetryContext · 0 introduced LOCTestThrottleRetryContextTestRetryFailed · 0 introduced LOCTestRetryFailedretry.go ×1 · 2 introduced LOCretry.go ×1TestNumberOfAttempts · 0 introduced LOCTestNumberOfAttemptsretrypolicy.go ×4 · 15 introduced LOCretrypolicy.go ×4retrypolicy.go ×7 · 20 introduced LOCretrypolicy.go ×7retrypolicy.go ×2 · 5 introduced LOCretrypolicy.go ×2retrypolicy.go ×1 · 4 introduced LOCretrypolicy.go ×1retrypolicy.go ×3 · 19 introduced LOCretrypolicy.go ×3TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/api/persistence/v1/executions.pb.go · 5768 LOCv1/executions.pb.gogo.temporal.io/server/api/persistence/v1/namespaces.pb.go · 560 LOCv1/namespaces.pb.gogo.temporal.io/server/client/history/client_gen.go · 1548 LOChistory/client_gen.gogo.temporal.io/server/client/history/metric_client.go · 119 LOChistory/metric_client.gogo.temporal.io/server/common/backoff/retry.go · 207 LOCbackoff/retry.gogo.temporal.io/server/common/backoff/retrypolicy.go · 347 LOCbackoff/retrypolicy.gogo.temporal.io/server/common/log/tag/tags.go · 1039 LOCtag/tags.gogo.temporal.io/server/common/persistence/cassandra/metadata_store.go · 519 LOCcassandra/metadata_store…go.temporal.io/server/common/persistence/history_manager.go · 1139 LOCpersistence/history_mana…go.temporal.io/server/common/persistence/persistence-tests/history_v2_persistence.go · 840 LOCpersistence-tests/histor…go.temporal.io/server/common/persistence/persistence-tests/metadata_persistence_v2.go · 2360 LOCpersistence-tests/metada…go.temporal.io/server/common/persistence/sql/metadata.go · 291 LOCsql/metadata.gogo.temporal.io/server/service/frontend/workflow_handler.go · 7521 LOCfrontend/workflow_handle…TestCreateHistoryClientRetryPolicy_MixedErrorSequence · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_MixedErrorSequenceTestCreateHistoryClientR…flag_off_+_system_RE_follows_the_cap · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_SystemREGating/flag_off_+_system_RE_follows_the_capflag_off_+_system_RE_fol…flag_on_+_namespace_RE_follows_the_cap · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_SystemREGating/flag_on_+_namespace_RE_follows_the_capflag_on_+_namespace_RE_f…flag_on_+_non-RE_retryable_follows_the_cap · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_SystemREGating/flag_on_+_non-RE_retryable_follows_the_capflag_on_+_non-RE_retryab…flag_off_caps_at_2_attempts · introduced test · go.temporal.io/server/common/TestCreateHistoryClientRetryPolicy_ThrottleRetryContext/flag_off_caps_at_2_attemptsflag_off_caps_at_2_attem…TestCreateMatchingClientRetryPolicy_SystemREGating · introduced test · go.temporal.io/server/common/TestCreateMatchingClientRetryPolicy_SystemREGatingTestCreateMatchingClient…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestNumberOfAttempts · introduced test · go.temporal.io/server/common/backoff/TestRetryPolicySuite/TestNumberOfAttemptsTestNumberOfAttemptsTestRetryFailed · introduced test · go.temporal.io/server/common/backoff/TestRetrySuite/TestRetryFailedTestRetryFailedTestThrottleRetryContext · introduced test · go.temporal.io/server/common/backoff/TestRetrySuite/TestThrottleRetryContextTestThrottleRetryContextTestThrottleRetryContextWithReturnMaxAttempts · introduced test · go.temporal.io/server/common/backoff/TestRetrySuite/TestThrottleRetryContextWithReturnMaxAttemptsTestThrottleRetryContext…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraHistoryV2Persistence/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceCassandra · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestRenameNamespaceCassandraTestRenameNamespaceCassa…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestCassandraMetadataPersistenceV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestMySQLMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestPGX/TestPostgreSQLMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestPGXSP/TestPostgreSQLMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestPQ/TestPostgreSQLMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteFileHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteFileMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteFileMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteFileMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteFileMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestConcurrentlyCreateAndAppendBranches · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteHistoryV2PersistenceSuite/TestConcurrentlyCreateAndAppendBranchesTestConcurrentlyCreateAn…TestCASFailureUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteMetadataPersistenceSuiteV2/TestCASFailureUpdateNamespaceTestCASFailureUpdateName…TestConcurrentUpdateNamespace · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteMetadataPersistenceSuiteV2/TestConcurrentUpdateNamespaceTestConcurrentUpdateName…TestRenameNamespaceWithNameConflict · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteMetadataPersistenceSuiteV2/TestRenameNamespaceWithNameConflictTestRenameNamespaceWithN…TestUpdateNamespaceNotFound · introduced test · go.temporal.io/server/common/persistence/tests/TestSQLiteMetadataPersistenceSuiteV2/TestUpdateNamespaceNotFoundTestUpdateNamespaceNotFo…TestAcquireShardNonOwnershipLostErrorIsRetried · introduced test · go.temporal.io/server/service/history/shard/TestShardContextSuite/TestAcquireShardNonOwnershipLostErrorIsRetriedTestAcquireShardNonOwner…TestNewServerWithJSONEncoding · introduced test · go.temporal.io/server/temporal/TestNewServerWithJSONEncodingTestNewServerWithJSONEnc…Focused concept · retrypolicy.go ×1 · 2 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.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

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

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

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

Open complete file

143 // NOTE: if maxAttempts is X, return done when numAttempts == X, otherwise there will be attempt X+1
144 if p.maximumAttempts != noMaximumAttempts && numAttempts >= p.maximumAttempts {
145 > return done retrypolicy.go
146 > }
147
148 // Stop retrying after expiration interval is elapsed