Setting snapshot removed on timeout#4425
Conversation
|
@blueorangutan package |
|
@Spaceman1984 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2276 |
|
@blueorangutan test |
|
@Spaceman1984 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3075)
|
davidjumani
left a comment
There was a problem hiding this comment.
Discussed an issue with @Spaceman1984
Might be unrelated, Waiting for his response
so this is on hold, @davidjumani ? |
|
I'll convert to draft @DaanHoogland |
|
Snapshots are being deleted from the database when using the "Async" flag on creation and it times out. - This is happening in a separate process - I suspect the snapshots are being marked for garbage collection in the async process. I'll need to look into this a bit further. |
|
@Spaceman1984 can you share the latest update on this, is this ready for review/testing - or you still investigating? |
|
Still investigating @rhtyd |
|
@Spaceman1984 any update on this? |
|
No progress yet @rhtyd , I have been preoccupied with some other work-related stuff, I was only able to start looking at this again today. |
|
In the storage garbage collection process snapshots in an error state are deleted where the "removed" field is null. [StorageManagerImpl.java] This line only looks at where records are not marked as removed: I can do a few things here, I can set the removed field to the current timestamp on error which should prevent the field from being deleted or I can create a different TimedOut state so these records are also not cleaned out by the garbage collection process. |
|
@Spaceman1984 please update if this is ready for review? |
|
@blueorangutan package @sureshanaparti @borisstoyanov any final comments |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2405 |
|
@blueorangutan test matrix |
|
@DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@Spaceman1984 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2408 |
|
@blueorangutan test matrix |
|
@Spaceman1984 a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3209)
|
|
Trillian test result (tid-3216)
|
|
Trillian test result (tid-3217)
|
|
prety sure the kvm failures are environmental, rerunning that one |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
davidjumani
left a comment
There was a problem hiding this comment.
LGTM. Snaps removed when operation timed out when async set to both true and false
|
@DaanHoogland let's merge this once the test results are back we've enough LGTMs and manual tests done |
|
Trillian test result (tid-3221)
|
Description
When creating a snapshot times-out on the management server, the record in snapshot_store_ref table is deleted.
By setting the snapshot to "removed" on timeout, the record is not deleted.
Fixes: #3559
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?