Repository navigation
fix(cruisecontrol): match disk removal log dirs exactly - #405
Merged
Merged
Conversation
amuraru
force-pushed
the
fix/disk-identity
branch
from
November 26, 2026 19:23
1750610 to
5c65466
Compare
Author
Triage: keep and merge first
Build and both Kubernetes 1.35/1.37 test jobs passed. The two end-to-end jobs were still running when checked. Merge after they pass and the PR is approved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Disk removal used the first online log directory whose path started with the requested mount path. For
/kafka-logs1, that could schedule/kafka-logs10/kafkainstead. If that operation succeeded, Koperator could mark the original volume as drained and delete its PVC.The task controller now requires the exact Kafka log directory on the requested broker. It accepts the path Kafka reports for mounts ending in
/. If the exact directory is not online, reconciliation retries without creating an operation or marking the disk as scheduled./kafka-logs10/kafkafirst, then/kafka-logs1/kafka/kafka-logs1/kafkaVerification:
make checkpassed. Controller regression tests cover both cases above and a mount with a trailing slash. Live-cluster E2E tests were not run.Rollout: No schema change. This only affects newly scheduled operations; it does not repair targets in existing
remove_disksoperations.Type of Change
Checklist
make check, non-E2E)