Skip to content

Conversation

@TrafalgarZZZ
Copy link
Member

@TrafalgarZZZ TrafalgarZZZ commented Sep 10, 2025

Ⅰ. Describe what this PR does

  • fix a typo in func CheckAndSyncFuseStatus (DesiredMasterNumberScheduled -> DesiredFuseNumberScheduled), which caused runtime status's oscillation
  • Remove some code to make logic simple: master/worker/fuse status will only be updated in CheckAndSyncXXXStatus

Ⅱ. Does this pull request fix one issue?

fixes #XXXX

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
….SetupMaster

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

❌ Patch coverage is 63.93443% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.51%. Comparing base (22d8041) to head (7ecd5a0).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pkg/utils/runtime_condition.go 0.00% 13 Missing ⚠️
pkg/ctrl/replicas.go 83.33% 2 Missing and 1 partial ⚠️
pkg/ddc/alluxio/health_check.go 33.33% 1 Missing and 1 partial ⚠️
pkg/ddc/jindocache/status.go 0.00% 2 Missing ⚠️
pkg/ddc/thin/status.go 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5226      +/-   ##
==========================================
- Coverage   55.57%   55.51%   -0.06%     
==========================================
  Files         443      443              
  Lines       30525    30382     -143     
==========================================
- Hits        16963    16867      -96     
+ Misses      12005    11962      -43     
+ Partials     1557     1553       -4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TrafalgarZZZ
Copy link
Member Author

/test fluid-e2e

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@cheyang
Copy link
Collaborator

cheyang commented Sep 11, 2025

@TrafalgarZZZ Thank you for contributing high-quality refactor that significantly improves the codebase a lot. Only a small suggestion from me.

Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@sonarqubecloud
Copy link

Copy link
Collaborator

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

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Sep 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

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

@fluid-e2e-bot fluid-e2e-bot bot merged commit 2244413 into fluid-cloudnative:master Sep 12, 2025
16 checks passed
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