koordinator icon indicating copy to clipboard operation
koordinator copied to clipboard

scheduler: remove reservation nominator useless code

Open xulinfei1996 opened this issue 10 months ago • 3 comments

Ⅰ. Describe what this PR does

If Reservation is Active, Failed or Succeed, it must be scheduled after it triggers preemption, so its nominated information will be deleted in this round schedule process. As in the framework, it will exec DeleteNominatedReservePod in RunReservePluginsReserve. In a conclusion, it is no need to DeleteReservePod in ReservationHandler OnUpdate handler.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • [ ] I have written necessary docs and comments
  • [ ] I have added necessary unit tests and integration tests
  • [ ] All checks passed in make test

xulinfei1996 avatar Apr 08 '24 02:04 xulinfei1996