Skip to content

Conversation

@TrafalgarZZZ
Copy link
Member

Ⅰ. Describe what this PR does

In this PR, we change CheckReferenceDatasetRuntime's implementation from checking dataset's mount point to simply check runtime.spec.profileName == 0. If users attempts to create a ThinRuntime used to integrate third-party storage, it must have a non-empty runtime.spec.profileName value, otherwise, ThinRuntime represents a Reference engine.

Ⅱ. Does this pull request fix one issue?

fixes #3334

Ⅲ. 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>
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #3335 (74b2c27) into master (b9eda4e) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head 74b2c27 differs from pull request most recent head 5faa232. Consider uploading reports for the commit 5faa232 to get more accurate results

@@            Coverage Diff             @@
##           master    #3335      +/-   ##
==========================================
- Coverage   65.45%   65.43%   -0.03%     
==========================================
  Files         402      402              
  Lines       23256    23244      -12     
==========================================
- Hits        15223    15209      -14     
- Misses       6253     6254       +1     
- Partials     1780     1781       +1     
Impacted Files Coverage Δ
pkg/ddc/thin/engine.go 82.92% <100.00%> (-3.87%) ⬇️

... and 1 file with indirect coverage changes

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
8.6% 8.6% Duplication

@cheyang cheyang requested a review from xliuqq July 12, 2023 09:31
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 Jul 12, 2023

[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 1d4e3d2 into fluid-cloudnative:master Jul 12, 2023
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.

[BUG] ThinRuntime deletion stucks when dataset is not found

2 participants