Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43660

cbbackupmgr does not cleanup the staging directory lockfile when failing due to an error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 7.0.0
    • Cheshire-Cat
    • tools
    • None
    • Untriaged
    • 1
    • No

    Description

      What's the issue?
      The staging directory lockfile is not being removed in the event on an error; this is something that I added to the exit handler, however, it's being passed a <nil> object store client meaning this cleanup is being skipped.

      What's the fix?
      Ensure we always pass the object store client to the error handler.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-43660
          # Subject Branch Project Status CR V

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty