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

umountDuplicate larger than the threshold (#3429) #3452

Conversation

TrafalgarZZZ
Copy link
Member

Ⅰ. Describe what this PR does

Cherry-pick #3403 and #3429 to 0.9

Ⅱ. 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

…ve#3403)

* Bugfix: remove umountDuplicate and add warning event

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* fix ut error

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* using GetIntValueFromEnv and set default recover warning threshold as 50

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* switch for eventReason and add log

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

---------

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>
* umountDuplicate larger than the threshold

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* update warning log

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* add dataset event record

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

* update eventReason and message

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>

---------

Signed-off-by: wangshulin <wangshulin@smail.nju.edu.cn>
Signed-off-by: trafalgarzzz <trafalgarz@outlook.com>
@sonarcloud
Copy link

sonarcloud bot commented Sep 13, 2023

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
No Duplication information No Duplication information

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 Sep 13, 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

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

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #3452 (87a74d6) into release-0.9 (2a141d7) will decrease coverage by 0.02%.
The diff coverage is 64.00%.

❗ Current head 87a74d6 differs from pull request most recent head 14ec7b4. Consider uploading reports for the commit 14ec7b4 to get more accurate results

@@               Coverage Diff               @@
##           release-0.9    #3452      +/-   ##
===============================================
- Coverage        65.49%   65.47%   -0.02%     
===============================================
  Files              398      398              
  Lines            23121    23130       +9     
===============================================
+ Hits             15142    15145       +3     
- Misses            6197     6203       +6     
  Partials          1782     1782              
Files Changed Coverage Δ
pkg/common/constants.go 100.00% <ø> (ø)
...webhook/scheduler/mutating/schedule_pod_handler.go 66.93% <0.00%> (ø)
pkg/csi/recover/recover.go 62.28% <60.00%> (-2.49%) ⬇️
pkg/utils/env.go 87.50% <100.00%> (ø)
pkg/utils/time_tracker.go 83.33% <100.00%> (ø)

@fluid-e2e-bot fluid-e2e-bot bot merged commit 6acbbcb into fluid-cloudnative:release-0.9 Sep 13, 2023
8 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