Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2507

Null pointer from deleting non-existent backup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • operator
    • None
    • 48
    • 1

    Description

      when deleting a CouchbacBackup resource instantly after creating it, operator segfaults.

      Reproduction steps:

      1. create a cluster with back up enabled
      2. apply a backup configuration as per https://docs.couchbase.com/operator/current/howto-backup.html
      3. delete the yaml
      4. check operator logs for segfault

      see attached logs for example

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          simon.murray Simon Murray added a comment -

          Smells a lot like a lack of test coverage...

          simon.murray Simon Murray added a comment - Smells a lot like a lack of test coverage...

          Build couchbase-operator-2.3.0-200 contains couchbase-operator commit feefd71 with commit message:
          K8S-2507: Backup cronjob removal segfaults

          build-team Couchbase Build Team added a comment - Build couchbase-operator-2.3.0-200 contains couchbase-operator commit feefd71 with commit message: K8S-2507 : Backup cronjob removal segfaults

          Prateek Kumar Please verify and close this issue

          arunkumar Arunkumar Senthilnathan (Inactive) added a comment - Prateek Kumar Please verify and close this issue

          Test added by Dev passes with backup image.

          prateek.kumar Prateek Kumar (Inactive) added a comment - Test added by Dev passes with backup image.

          People

            prateek.kumar Prateek Kumar (Inactive)
            Alex.emery Alex Emery
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty