Skip to content

fix(dlf): refresh expiring credentials - #714

Open
XiaoHongbo-Hope wants to merge 2 commits into
apache:mainfrom
XiaoHongbo-Hope:codex/dlf-token-refresh
Open

fix(dlf): refresh expiring credentials#714
XiaoHongbo-Hope wants to merge 2 commits into
apache:mainfrom
XiaoHongbo-Hope:codex/dlf-token-refresh

Conversation

@XiaoHongbo-Hope

Copy link
Copy Markdown
Contributor

What changed

  • Parse the standard ECS Expiration field into milliseconds so DLF catalog credentials are refreshed before expiry.
  • Keep a refresh-capable REST token FileIO attached to loaded tables instead of freezing the first data token.
  • Coalesce concurrent refreshes, rebuild the storage operator with rotated credentials, and preserve the catalog local cache.
  • Document ECS RAM-role authentication and REST data-token configuration.

Static AK/SK credentials remain unchanged and are not rotated.

Validation

  • cargo test -p paimon --lib (2254 passed, 1 ignored)
  • cargo test -p paimon token
  • cargo test -p paimon io::file_io:: (31 passed)
  • cargo clippy -p paimon --all-targets -- -D warnings
  • All non-Python workspace targets compile, including DataFusion, C bindings, REST server, and integration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant