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

[BP MB-40423] - Pause handler should Resume only via new api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.6.1
    • Component/s: eventing
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      • Deploy a handler
      • Pause handler

      {
          "apps": [
              {
                  "composite_status": "paused",
                  "name": "test",
                  "num_bootstrapping_nodes": 0,
                  "num_deployed_nodes": 1,
                  "deployment_status": true,
                  "processing_status": false
              }
          ],
          "num_eventing_nodes": 1
      } 

      • Try to deploy it with /deploy instead of /resume 
      • No error is thrown. Pause -> deploy (worked) instead of Pause -> Resume

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.1-9069 contains eventing commit c38da53 with commit message:
            MB-40731: Check if the appState is not pause when the handler is invoked.

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.1-9069 contains eventing commit c38da53 with commit message: MB-40731 : Check if the appState is not pause when the handler is invoked.
            Hide
            vikas.chaudhary Vikas Chaudhary added a comment -

            verified on 6.6.1-9072

            {    "name": "ERR_APP_NOT_UNDEPLOYED",    "code": 22,    "description": "Function hasn't undeployed",    "attributes": null,    "runtime_info": {        "code": 22,        "info": "Function: test is in paused state, Please use /resume API to deploy the function."    }} 

            Show
            vikas.chaudhary Vikas Chaudhary added a comment - verified on 6.6.1-9072 { "name": "ERR_APP_NOT_UNDEPLOYED", "code": 22, "description": "Function hasn't undeployed", "attributes": null, "runtime_info": { "code": 22, "info": "Function: test is in paused state, Please use /resume API to deploy the function." }}

              People

              Assignee:
              vinayaka.kamath Vinayaka Kamath
              Reporter:
              jeelan.poola Jeelan Poola
              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