Skip to content

koord-descheduler: add Arbitrator#1586

Merged
koordinator-bot[bot] merged 7 commits intokoordinator-sh:mainfrom
baowj-678:arbitration_implement
Sep 6, 2023
Merged

koord-descheduler: add Arbitrator#1586
koordinator-bot[bot] merged 7 commits intokoordinator-sh:mainfrom
baowj-678:arbitration_implement

Conversation

@baowj-678
Copy link
Member

@baowj-678 baowj-678 commented Aug 26, 2023

Ⅰ. Describe what this PR does

Implementation of interface Arbitrator & struct arbitratorImpl according to #1454

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

@codecov
Copy link

codecov bot commented Aug 26, 2023

Codecov Report

Patch coverage: 78.08% and project coverage change: +0.08% 🎉

Comparison is base (d1a56ae) 65.22% compared to head (cf57fa6) 65.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1586      +/-   ##
==========================================
+ Coverage   65.22%   65.30%   +0.08%     
==========================================
  Files         368      369       +1     
  Lines       37971    38117     +146     
==========================================
+ Hits        24765    24891     +126     
- Misses      11387    11402      +15     
- Partials     1819     1824       +5     
Flag Coverage Δ
unittests 65.30% <78.08%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...ler/controllers/migration/arbitrator/arbitrator.go 78.08% <78.08%> (ø)

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eahydra eahydra changed the title koord-descheduler: add Arbitrator & arbitratorImpl koord-descheduler: add Arbitrator Aug 29, 2023
baowj-678 and others added 7 commits September 6, 2023 19:21
Signed-off-by: baowj-678 <bwj_678@qq.com>
1. Arbitrator not implements handler.EnqueueRequestForObject;
2. add arbitrationHandler;
3. remove workqueue;
4. others.

Signed-off-by: baowj <bwj_678@qq.com>
1. update filter codes.

Signed-off-by: baowj <bwj_678@qq.com>
1. delete WithSortFn

Signed-off-by: baowj <bwj_678@qq.com>
Co-authored-by: Joseph <joseph.t.lee@outlook.com>
Signed-off-by: baowj <bwj_678@qq.com>
Co-authored-by: Joseph <joseph.t.lee@outlook.com>
Signed-off-by: baowj <bwj_678@qq.com>
1. update New func;
2. update klog;
3. delete types.go;
4. remove Arbitrator.Create & Arbitrator.Start funcs.

Signed-off-by: baowj <bwj_678@qq.com>
@baowj-678 baowj-678 force-pushed the arbitration_implement branch from 8e63725 to cf57fa6 Compare September 6, 2023 11:21
Copy link
Member

@eahydra eahydra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eahydra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@koordinator-bot koordinator-bot bot merged commit 52f57b6 into koordinator-sh:main Sep 6, 2023
j4ckstraw pushed a commit to j4ckstraw/koordinator that referenced this pull request May 20, 2024
Signed-off-by: baowj-678 <bwj_678@qq.com>
Signed-off-by: baowj <bwj_678@qq.com>
Co-authored-by: Joseph <joseph.t.lee@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants