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

Eventing : Unable to delete a function

    XMLWordPrintable

Details

    Description

      Build : 5.1.0-1382

      Unable to delete a function. This function was paused and resumed. Also there were attempts to pause this function while it was in bootstrapping (and we ran into MB-26748).

      Steps :
      1. Create a src_bucket, dst_bucket and a metadata bucket.
      2. Create a function on update like below :
      function OnUpdate(doc, meta)

      { log('document', doc); dst_bucket[meta.id] = doc; }

      function OnDelete(doc) {
      }
      3. Deploy the function.
      4. Load 1M items in the src bucket
      5. After 10-15s, try to pause the Function.
      6. An error msg is flashed on the UI : "Function "firstFunction" may be undergoing bootstrap. Please try later."
      7. Wait for bootstrapping to complete, and then pause the function. Resume it after a couple mins.
      8. After some time, undeploy the function and attempt to delete the function. Delete does not work.

      Attachments

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

        Activity

          People

            siri Sriram Melkote (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            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