Description
when deleting a CouchbacBackup resource instantly after creating it, operator segfaults.
Reproduction steps:
- create a cluster with back up enabled
- apply a backup configuration as per https://docs.couchbase.com/operator/current/howto-backup.html
- delete the yaml
- check operator logs for segfault
see attached logs for example
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | logs.txt [ 167114 ] | |
Description |
Reproduction steps:
# create a cluster with back up enabled # apply a backup configuration as per [https://docs.couchbase.com/operator/current/howto-backup.html] # delete the yaml # check logs for segfault |
when deleting a CouchbacBackup resource instantly after creating it, operator segfaults.
Reproduction steps: # create a cluster with back up enabled # apply a backup configuration as per [https://docs.couchbase.com/operator/current/howto-backup.html] # delete the yaml # check operator logs for segfault see attached logs for example |
Summary | Null pointer from deleting | Null pointer from deleting non-existent backup |
Fix Version/s | 2.3.0 [ 17600 ] |
Rank | Ranked higher |
Rank | Ranked lower |
Sprint | 48 [ 1889 ] |
Assignee | Simon Murray [ simon.murray ] | Alex Emery [ JIRAUSER26037 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Rank | Ranked higher |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Assignee | Alex Emery [ JIRAUSER26037 ] | Prateek Kumar [ prateek.kumar ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Smells a lot like a lack of test coverage...