-
Notifications
You must be signed in to change notification settings - Fork 1.2k
server,engine-schema: unlink userdata during acount cleanup #11595
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
base: main
Are you sure you want to change the base?
Conversation
3c7e877
to
b54406e
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #11595 +/- ##
============================================
- Coverage 17.36% 17.35% -0.01%
- Complexity 15235 15236 +1
============================================
Files 5888 5888
Lines 525740 525775 +35
Branches 64164 64165 +1
============================================
- Hits 91272 91267 -5
- Misses 424168 424208 +40
Partials 10300 10300
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
engine/schema/src/main/java/com/cloud/user/dao/UserDataDaoImpl.java
Outdated
Show resolved
Hide resolved
Fixes apache#9477 Signed-off-by: Abhishek Kumar <[email protected]>
7acde42
to
3a31c16
Compare
@blueorangutan package |
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14922 |
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.
@shwstppr I believe this fix will not effect the VMs that are already created using the template which previously linked to the userdata as we are saving the actual userdata in user_vm table. am I right ?
Description
Fixes #9477
This PR unlinks all userdata entities which are deleted as part of account cleanup.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?