Skip to content

[cherry-pick][6.10]CDAP-21261 : Add retry logging for GCP Secret Manager SDK calls - #16234

Merged
sahusanket merged 2 commits into
release/6.10from
cherry_CDAP-21261_secretmanager_retry_logging_and_backoff
Sep 25, 2026
Merged

sahusanket merged 2 commits into
release/6.10from
cherry_CDAP-21261_secretmanager_retry_logging_and_backoff

Conversation

@sahusanket

@sahusanket sahusanket commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

original pr : #16233

Note on cdap-security Test Keystore Changes (server-key.jks, client-key.jks, server-trust.jks)

  • Unrelated to CDAP-21261: These test resource updates in cdap-security are unrelated to the Secret Manager retry logging changes.
  • Why needed: The static 10-year self-signed certificates in cdap-security/src/test/resources/ on release/6.10 (originally generated on Sep 23, 2016) expired on Sep 23, 2026, causing ExternalMTLSAuthenticationServerTest to fail in CI with java.security.cert.CertificateExpiredException. Replacing them with the renewed test keystores from develop (valid until June 2034) unblocks CI on release/6.10.

@sahusanket
sahusanket requested a review from vsethi09 September 24, 2026 21:20
@sahusanket sahusanket self-assigned this Sep 24, 2026
@sahusanket sahusanket added the build Triggers github actions build label Sep 24, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request configures a custom tracer factory (BaseApiTracerFactory) on the GCP Secret Manager client stub settings. This tracer logs warnings when quota limits are hit (RESOURCE_EXHAUSTED), debug messages for other transient failures during retries, and errors when retries are exhausted. There are no review comments, so we have no additional feedback to provide.

@vsethi09 vsethi09 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestions as #16233

@sahusanket
sahusanket force-pushed the cherry_CDAP-21261_secretmanager_retry_logging_and_backoff branch from 4769986 to 78c53c5 Compare September 25, 2026 03:54
@sahusanket
sahusanket merged commit a152385 into release/6.10 Sep 25, 2026
9 checks passed
@sahusanket
sahusanket deleted the cherry_CDAP-21261_secretmanager_retry_logging_and_backoff branch September 25, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Triggers github actions build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants