Skip to content

Commit

Permalink
Streamline core to shim update on allocation change
Browse files Browse the repository at this point in the history
  • Loading branch information
manirajv06 committed Feb 10, 2022
1 parent 39e413f commit 62bb2e8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scheduler-interface-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,6 @@ type ResourceManagerCallback interface {
// can be allocated onto a node.
Predicates(args *si.PredicatesArgs) error

// RM side implements this API when it can provide plugin for reconciling
// Re-sync scheduler cache can sync some in-cache (yunikorn-core side) state changes
// to scheduler cache (shim-side), such as assumed allocations.
ReSyncSchedulerCache(args *si.ReSyncSchedulerCacheArgs) error

// This plugin is responsible for transmitting events to the shim side.
// Events can be further exposed from the shim.
SendEvent(events []*si.EventRecord)
Expand Down Expand Up @@ -569,6 +564,10 @@ message AllocationRelease {
TerminationType terminationType = 4;
// human-readable message
string message = 5;
// AllocationKey from AllocationAsk
string allocationkey = 6;
// update cache, default is false
bool updateCache = 7;
}
// Release ask
Expand Down

0 comments on commit 62bb2e8

Please sign in to comment.