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

fix: remove custom signal handler for concurrent reclaims #1889

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

wangxye
Copy link
Member

@wangxye wangxye commented Dec 30, 2023

What type of PR is this?

/sig iot
/kind bug

What this PR does / why we need it:

Remove exit reclaim logic to avoid iot-dock actively delete resources on edgex due to extreme concurrency.

Which issue(s) this PR fixes:

Fixes #1887

Special notes for your reviewer:

/assign @LavenderQAQ @Rui-Gan

Does this PR introduce a user-facing change?

Users need to take the initiative to remove cr resources: device/deviceprofile/deviceservice.

kubectl patch device hangzhou-random-boolean-device -p '{"metadata":{"finalizers":[]}}' --type=merge && kubectl delete device hangzhou-random-boolean-device

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (29bca00) 52.20% compared to head (588e5ed) 52.20%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1889   +/-   ##
=======================================
  Coverage   52.20%   52.20%           
=======================================
  Files         172      172           
  Lines       20844    20844           
=======================================
  Hits        10881    10881           
  Misses       8999     8999           
  Partials      964      964           
Flag Coverage Δ
unittests 52.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wangxye
Copy link
Member Author

wangxye commented Dec 30, 2023

/rerun

1 similar comment
@wangxye
Copy link
Member Author

wangxye commented Dec 31, 2023

/rerun

@rambohe-ch
Copy link
Member

/lgtm

@rambohe-ch rambohe-ch added approved approved lgtm lgtm labels Jan 2, 2024
@rambohe-ch rambohe-ch merged commit 67e1485 into openyurtio:master Jan 2, 2024
13 checks passed
zyjhtangtang pushed a commit to zyjhtangtang/openyurt that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approved lgtm lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] yurt-iot-dock concurrent conflicts when exiting reclaim
2 participants