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

Workers, Script Timeout and Timer Context Max Size are empty on UI

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Build: 7.0.0 build 3594

      Create a handler with

      curl --location --request POST 'http://10.112.205.102:8096/api/v1/functions/test/' \
      --header 'Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==' \
      --header 'Content-Type: application/json' \
      --data-raw '[
          {
              "appcode": "function OnUpdate(doc, meta) {\n    log('\''document'\'', doc);\n    dst_bucket[meta.id] = '\''hello world'\'';\n}\nfunction OnDelete(doc) {\n}",
              "depcfg": {
                  "buckets": [
                      {
                          "alias": "dst_bucket",
                          "bucket_name": "dst_bucket",
                          "scope_name": "_default",
                          "collection_name": "_default",
                          "access": "rw"
                      }
                  ],
                  "curl": [],
                  "source_bucket": "src_bucket",
                  "source_scope": "_default",
                  "source_collection": "_default",
                  "metadata_bucket": "metadata",
                  "metadata_scope": "_default",
                  "metadata_collection": "_default"
              },
              "appname": "test",
              "settings": {
                  "deployment_status": false,
                  "processing_status": false
              }
          }
      ]'

      Rest of the setting should be default but Workers, Script Timeout and Timer Context Max Size are empty on UI

      Attachments

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

        Activity

          People

            vinayaka.kamath Vinayaka Kamath (Inactive)
            vikas.chaudhary Vikas Chaudhary
            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