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

Enhancement: Unify the implementation of label concatenation and support labels with over limit length #4466

Conversation

Syspretor
Copy link
Collaborator

@Syspretor Syspretor commented Jan 7, 2025

Copy link

fluid-e2e-bot bot commented Jan 7, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@Syspretor Syspretor requested a review from TrafalgarZZZ January 7, 2025 04:07
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch 4 times, most recently from 3a8daff to 86bdb4c Compare January 7, 2025 05:29
@Syspretor Syspretor changed the title [Draft] Enhancement: Unify the implementation of label concatenation and support labels with over limit length Ehancement: Unify the implementation of label concatenation and support labels with over limit length Jan 7, 2025
@Syspretor Syspretor changed the title Ehancement: Unify the implementation of label concatenation and support labels with over limit length Enhancement: Unify the implementation of label concatenation and support labels with over limit length Jan 7, 2025
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch 17 times, most recently from d667065 to 58ce2ea Compare January 8, 2025 07:45
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.

I suggest tagging the uuid label in the dataset when it's initializing.

pkg/utils/hash.go Outdated Show resolved Hide resolved
pkg/utils/hash.go Outdated Show resolved Hide resolved
return
}

namespacedNameHashValue, err := ComputeFullNamespacedNameHashValue(namespace, name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use maxGeneratedNameLength and randomLength to improve readability.

pkg/utils/hash.go Outdated Show resolved Hide resolved
pkg/utils/hash.go Outdated Show resolved Hide resolved
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch 2 times, most recently from 05eeb86 to 542b7e9 Compare January 13, 2025 06:58
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch 3 times, most recently from a5f2b4e to 3c8f644 Compare January 20, 2025 05:50
@Syspretor
Copy link
Collaborator Author

/test fluid-e2e

@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch 10 times, most recently from a54d344 to 137ee71 Compare January 22, 2025 03:19
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch from 137ee71 to 6fdcbde Compare January 22, 2025 03:31
@cheyang
Copy link
Collaborator

cheyang commented Jan 22, 2025

/test fluid-e2e

@Syspretor Syspretor marked this pull request as ready for review January 23, 2025 02:00
…ifferent Runtimes, and support labels with over limit length

Signed-off-by: jiuyu <[email protected]>

* Feature: add datasetIdLabel to all the resources created by fluid

Signed-off-by: jiuyu <[email protected]>
@Syspretor Syspretor force-pushed the feature/support-labels-with-over-limit-length branch from 6fdcbde to 7e5401a Compare January 23, 2025 06:39
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

Copy link

fluid-e2e-bot bot commented Jan 23, 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

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

@cheyang cheyang merged commit c431923 into fluid-cloudnative:master Jan 24, 2025
14 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.

3 participants