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

[CBBS] Panic whilst cleaning up after failure archive creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.0.0, 7.0.1, 7.0.2
    • tools
    • None
    • Untriaged
    • 1
    • No
    • Tools 2021 Nov

    Description

      What's the issue?
      We have some cleanup which is run after failing to create an active repository; this cleanup will handle removing newly created credentials (for cloud/encryption).

      We always run this cleanup (which deletes a path in KV), the underlying library has validation which asserts that a path doesn't end in '/'.

      This, matched with the fact that the newly created credentials name can be empty, means we should fail this assertion.

      What's the fix?
      Only delete the credentials if we actually created them.

      Attachments

        Issue Links

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

          Activity

            People

              joe.mitchelljones Joe Mitchell Jones
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty