yuqi1129 opened a new pull request, #13279:
URL: https://github.com/apache/gravitino/pull/13279

   ### What changes were proposed in this pull request?
   
   Allow an explicit cascading drop to remove an unmanaged schema's stored 
registration when the source schema is already absent. Report success if either 
the source schema or its registration was removed, and clean up the schema's 
write-through secrets.
   
   Preserve the existing behavior of non-cascading drops for missing schemas.
   
   ### Why are the changes needed?
   
   A source-side deletion currently leaves a registration that even an explicit 
cascading drop cannot remove.
   
   Fix: #13278
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. A metadata-only cascading schema drop returns `dropped: true`; a 
repeated drop returns false. Stored schema write-through secrets are removed 
with the registration.
   
   ### How was this patch tested?
   
   - `./gradlew spotlessApply`
   - `./gradlew :core:test -PskipITs` — 2,192 passed, 2 skipped.
   - Regression tests cover source-side deletion, repeated drops, preserved 
non-cascading behavior, and write-through secret cleanup.
   


-- 
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]

Reply via email to