Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: hostNetwork supports sharding #8517

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

Y-Rookie
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added the size/S Denotes a PR that changes 10-29 lines. label Nov 25, 2024
@apecloud-bot apecloud-bot added the approved PR Approved Test label Nov 25, 2024
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 64.93%. Comparing base (d1c20f4) to head (17ae840).
Report is 3 commits behind head on release-0.9.

Files with missing lines Patch % Lines
pkg/controller/component/component.go 40.00% 2 Missing and 1 partial ⚠️
pkg/controller/component/utils.go 80.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release-0.9    #8517      +/-   ##
===============================================
+ Coverage        64.84%   64.93%   +0.08%     
===============================================
  Files              358      358              
  Lines            45523    45514       -9     
===============================================
+ Hits             29521    29555      +34     
+ Misses           13374    13334      -40     
+ Partials          2628     2625       -3     
Flag Coverage Δ
unittests 64.93% <63.63%> (+0.08%) ⬆️

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

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


🚨 Try these New Features:

return slices.Index(strings.Split(comps, ","), compName) >= 0

compsList := strings.Split(comps, ",")
return slices.Contains(compsList, synthesizedComp.Name) || slices.Contains(compsList, synthesizedComp.ShardingName)
Copy link
Contributor

Choose a reason for hiding this comment

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

Refactor the conversion (from sharding to components) to be handled by the cluster controller, rather than embedding its into components.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Refactor the conversion (from sharding to components) to be handled by the cluster controller, rather than embedding its into components.

done

@apecloud-bot apecloud-bot removed the approved PR Approved Test label Nov 27, 2024
@apecloud-bot apecloud-bot added the approved PR Approved Test label Nov 27, 2024
@wangyelei wangyelei merged commit ace137f into release-0.9 Nov 27, 2024
34 of 37 checks passed
@wangyelei wangyelei deleted the support/hostnetwork-supports-sharding branch November 27, 2024 09:46
@github-actions github-actions bot added this to the Release 0.9.2 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR Approved Test size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants