LuciferYang opened a new pull request, #15065: URL: https://github.com/apache/gravitino/pull/15065
### What changes were proposed in this pull request? Backport #14983 (`5a6af766`) to `branch-2.0`. Catalog, schema and fileset create use the `stageSecrets` / `commitSecrets` / `rollbackSecrets(SecretVersionChanges)` lifecycle of alter, and `writeSecrets(List)`, `rollbackSecrets(List)` and `SecretMaterial` are removed. The cherry-pick applies cleanly. ### Why are the changes needed? Same as #14983: `SecretManager` had one lifecycle for create and another for alter. This PR is opened from my fork so Fork CI runs there, since the Apache repo CI is out of resources. Fix: #14970 ### Does this PR introduce _any_ user-facing change? Same as #14983: a write-through provider without the version methods now fails at create, and a catalog create that leaves a stored catalog behind says so and asks to drop it with force. ### How was this patch tested? The backport carries over the tests from #14983. Fork CI will test it against `branch-2.0` in my fork. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
