-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(ddc): adjust prefetcher version based on JindoFS image tag #5235
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
feat(ddc): adjust prefetcher version based on JindoFS image tag #5235
Conversation
|
Skipping CI for Draft Pull Request. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5235 +/- ##
==========================================
- Coverage 55.51% 55.50% -0.01%
==========================================
Files 443 443
Lines 30382 30438 +56
==========================================
+ Hits 16867 16896 +29
- Misses 11962 11978 +16
- Partials 1553 1564 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add logic to determine prefetcher version based on JindoFS image tag - Implement version parsing and comparison functions - Update transformFuse function to use the appropriate prefetcher version - Add unit tests for version parsing function Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
dcaaa67 to
384fcb5
Compare
- Update smartdata image tag from 6.2.0 to 6.9.1-202509151826 - Update fuse image tag from 6.2.0 to 6.9.1-202509151826 Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
|
/test fluid-e2e |
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
|
/retest |
1 similar comment
|
/retest |
|
/test fluid-e2e |
|
/retest |
4 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
|
||
| // Assume value.FuseImageTag has been set here | ||
| if len(value.FuseImageTag) != 0 { | ||
| fuseVersion, err := parseVersionFromImageTag(value.FuseImageTag) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we fail fast when
fuseVersion, err := parseVersionFromImageTag(value.FuseImageTag)
returns a non-nil error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, image tags are required to be in format of "X.Y.Z-xxxxxx". Users may change it to a customized tag.
| wantErr bool | ||
| }{ | ||
| { | ||
| name: "valid version without tag", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding test case v6.2.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. parseVersionFromImageTag now supports parsing version info from either 6.2.0 or v6.2.0.
|
/test fluid-e2e |
- Update regular expression to match version strings with optional 'v' prefix - Add test cases for version strings with 'v' prefix, both with and without tags Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
|
|
/test fluid-e2e |
|
/retest |
cheyang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…d-cloudnative#5235) * feat(ddc): adjust prefetcher version based on JindoFS image tag - Add logic to determine prefetcher version based on JindoFS image tag - Implement version parsing and comparison functions - Update transformFuse function to use the appropriate prefetcher version - Add unit tests for version parsing function Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> * fix go fmt Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> * fix go fmt Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> * update smartdata and fuse image tags - Update smartdata image tag from 6.2.0 to 6.9.1-202509151826 - Update fuse image tag from 6.2.0 to 6.9.1-202509151826 Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> * fix image prefix in gha e2e Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> * enhance version parsing to support 'v' prefix - Update regular expression to match version strings with optional 'v' prefix - Add test cases for version strings with 'v' prefix, both with and without tags Signed-off-by: trafalgarzzz <trafalgarz@outlook.com> --------- Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>



Ⅰ. Describe what this PR does
Ⅱ. 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