Uh oh!
There was an error while loading. Please reload this page.
server: improve storage GC to skip expunging possible duplicate volumes - #7313
Conversation
627eedc to
c85e114Compareshwstppr
commented
Mar 6, 2023
@blueorangutan package |
blueorangutan
commented
Mar 6, 2023
@shwstppr a 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. |
blueorangutan
commented
Mar 6, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5683 |
DaanHoogland
commented
Mar 6, 2023
@blueorangutan test matrix |
blueorangutan
commented
Mar 6, 2023
@DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
blueorangutan
commented
Mar 7, 2023
Trillian test result (tid-6262)
|
blueorangutan
commented
Mar 7, 2023
Trillian test result (tid-6263)
|
blueorangutan
commented
Mar 7, 2023
Trillian test result (tid-6264)
|
yadvr
left a comment
There was a problem hiding this comment.
Didn't test this, LGTM - this would need testing (one concern that can be tested if, this doesn't introduce any regression in the GC logic such that valid volumes that must be GC'd and deleted are no longer deleted)
shwstppr
commented
Mar 9, 2023
Changing base branch creates conflicts @rohityadavcloud@DaanHoogland |
…icate Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
c85e114 to
8a0564dCompareshwstppr
commented
May 23, 2023
@blueorangutan package |
blueorangutan
commented
May 23, 2023
@shwstppr a [SF] 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. |
blueorangutan
commented
May 23, 2023
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6121 |
yadvr
commented
May 25, 2023
@blueorangutan test |
blueorangutan
commented
May 25, 2023
@rohityadavcloud a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
May 25, 2023
Trillian Build Failed (tid-6589) |
DaanHoogland
commented
May 25, 2023
@blueorangutan LLtest |
blueorangutan
commented
May 25, 2023
@DaanHoogland a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
May 26, 2023
[LL]Trillian test result (tid-6544)
|
DaanHoogland
commented
May 26, 2023
@blueorangutan test |
blueorangutan
commented
May 26, 2023
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
May 26, 2023
[SF] Trillian Build Failed (tid-6594) |
DaanHoogland
commented
May 26, 2023
@blueorangutan LLtest |
blueorangutan
commented
May 26, 2023
@DaanHoogland a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
May 26, 2023
[LL]Trillian test result (tid-6549)
|
DaanHoogland
commented
May 30, 2023
@blueorangutan test matrix |
blueorangutan
commented
May 30, 2023
@DaanHoogland a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
shwstppr
commented
Jun 1, 2023
@blueorangutan package |
blueorangutan
commented
Jun 1, 2023
@shwstppr a [LL] 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. |
blueorangutan
commented
Jun 1, 2023
Packaging result [LL]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6067 |
DaanHoogland
commented
Jun 2, 2023
@blueorangutan test matrix |
blueorangutan
commented
Jun 2, 2023
@DaanHoogland a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 2, 2023
[SF] Trillian test result (tid-6664)
|
blueorangutan
commented
Jun 2, 2023
[SF] Trillian test result (tid-6665)
|
blueorangutan
commented
Jun 2, 2023
[SF] Trillian test result (tid-6666)
|
DaanHoogland
commented
Jun 5, 2023
This seems ready to merge, I am just missing some validation and given the description it seems hard to reproduce/test. |
shwstppr
commented
Jun 5, 2023
This is just a defensive check and I don't think it would be simple to reproduce. At most, we can test that there is no regression in the GC logic. I've also tried to add multiple unit tests to prevent any unnecessary change in the behaviour |
DaanHoogland
commented
Jun 5, 2023
Thanks, @shwstppr I think we did enough for regression testing, looking at the code change (scope), merging |
Description
Storage GC deletes volumes that are in Destroy state. This PR adds a check in this action that is if two volume records (one in Destroy state and one in Ready state) point to exactly the same disk file then skip doing GC on such Destroy state volume record.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?