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

update-eventing-function for Eventing CLI

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.5.1
    • 7.0.0
    • documentation, eventing
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      In the UI, We can pause-edit-resume a function.
      On the CLI, We could pause-import-resume a function.

       

      However, "import" seems to overwrite a function and lose its place in the source bucket. This would forces to "resume-from-now" and miss some data or go back to the vert beginning.
      There doesn't seem to be an "update-eventing-function" on the cli which matches the "edit Javascript" on the UI.

      another issue we are having is not knowing then the eventing function has completed its action. Since the commands seem to be asynchronous, we cannot script the commands

       

      undeploy func1

      delete func1

      import func1

       

      The import fails, since we don't know when the function is deleted. We need something like a --wait flag, which would make the execution synchronous.

       

      Attachments

        Issue Links

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

          Activity

            karthik.sekar Karthik B Sekar created issue -
            jeelan.poola Jeelan Poola made changes -
            Field Original Value New Value
            Fix Version/s Cheshire-Cat [ 15915 ]
            jeelan.poola Jeelan Poola made changes -
            Assignee Jeelan Poola [ jeelan.poola ] Vinayaka Kamath [ JIRAUSER25010 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue duplicates MB-42237 [ MB-42237 ]
            vinayaka.kamath Vinayaka Kamath (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jeelan.poola Jeelan Poola made changes -
            Component/s documentation [ 12719 ]
            jon.strabala Jon Strabala made changes -
            Attachment timer_test.json [ 131287 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue is cloned by MB-45360 [ MB-45360 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue backports to MB-45360 [ MB-45360 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue is cloned by MB-45360 [ MB-45360 ]
            sujay.gad Sujay Gad made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            lynn.straus Lynn Straus made changes -
            Fix Version/s 7.0.0 [ 17233 ]
            lynn.straus Lynn Straus made changes -
            Fix Version/s Cheshire-Cat [ 15915 ]

            People

              vinayaka.kamath Vinayaka Kamath (Inactive)
              karthik.sekar Karthik B Sekar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty