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

   ### What changes were proposed in this pull request?
   
   First slice of the expand / cron / commit track (stacked; this PR targets 
`branch-tms-scheduler`):
   
   - Nearest-policy decision model (winner vs same-level conflict, fail-closed)
   - `NearestMaintenancePolicyResolver` and `ExpandTableCandidate`
   - Expand occupancy gate interface used by later enumeration
   
   ### Why are the changes needed?
   
   Policy expand has to pick one nearest maintenance policy per table and skip 
ambiguous same-level attachments before any cron-job row is written. 
Enumeration and enqueue land in follow-up PRs on this stack.
   
   Part of #13760. Related to #13984.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   `./gradlew :plugins:tms:test -PskipITs -PskipDockerTests=true --tests 
org.apache.gravitino.maintenance.scheduler.expand.TestNearestMaintenancePolicyResolver`
   
   
   Made with [Cursor](https://cursor.com)


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