Revert "feat: support graceful scale-down for AlluxioRuntime" (#5805)#6059
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes the graceful worker scale-down feature for AlluxioRuntime, deleting its associated feature gate, decommissioning operations, status conditions, and unit tests. Additionally, it simplifies the read job command in the E2E test configuration. As there are no review comments, I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6059 +/- ##
==========================================
- Coverage 64.89% 64.77% -0.12%
==========================================
Files 486 484 -2
Lines 34057 33892 -165
==========================================
- Hits 22101 21954 -147
+ Misses 10228 10215 -13
+ Partials 1728 1723 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b53e217 to
9232261
Compare
|
Thanks for flagging this - agreed the missing e2e coverage was a real gap. Re-land is up at #6061 with a Kind e2e test under |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RongGu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
…dvancedStatefulSet (fluid-cloudnative#4193) (fluid-cloudnative#5805)" (fluid-cloudnative#6059) This reverts commit 333e13a. Signed-off-by: Monika Jakhar <jakharmonika364@gmail.com>



Why
PR #5805 introduced AlluxioRuntime graceful scale-down (decommission + drain logic) with unit tests only. It does not include an end-to-end test validating the actual scale-down → drain → decommission → data-integrity path under a real Kind cluster.
Since this feature changes runtime scaling behavior in a way that could cause silent data loss if the drain/decommission sequence doesn't work correctly in production, we are reverting until the contributor provides a matching
test/gha-e2e/scenario that exercises the full lifecycle.What this reverts
Commit
ec6072e— "feat: support graceful scale-down for AlluxioRuntime using AdvancedStatefulSet (#4193) (#5805)"Removed files:
pkg/ddc/alluxio/operations/decommission.gopkg/ddc/alluxio/operations/decommission_test.gopkg/ddc/alluxio/replicas_drain_test.gopkg/features/features.goReverted modifications:
api/v1alpha1/status.gopkg/ddc/alluxio/const.gopkg/ddc/alluxio/replicas.gotest/gha-e2e/curvine/read_job.yamlRe-land path
@jakharmonika364 — once you add a Kind-based e2e test (under
test/gha-e2e/) that validates AlluxioRuntime scale-down (reduce replicas → verify decommission completes → verify data integrity), please open a new PR containing both the feature and the e2e test. We'll fast-track the review.cc @cheyang