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

[CBM] Restoring eventing metadata to non-existent bucket silently fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • master, 7.1.4, 7.6.2
    • tools
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Reproduction

      • Create a bucket, and create an eventing function for that bucket
      • Create a backup repo with the following flagsĀ 

        --disable-bucket-config --disable-views --disable-gsi-indexes --disable-ft-indexes --disable-data --disable-cluster-analytics --disable-analytics --disable-ft-alias --disable-bucket-query --disable-cluster-query 

      • Backup the cluster
      • Delete the bucket and the eventing function from the cluster
      • Try to restore the backup

      The eventing functions will not be restored, as the bucket/scope/collections required for it are not present on the cluster.

      Fix

      An error should be returned (possibly by the eventing endpoint). It should be possible to force create the bucket/scope/collections required with a combination of flag e.g. --mao-data, --auto-create-bucketsĀ 

      Attachments

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

        Activity

          People

            owend Daniel Owen
            safian.ali Safian Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty