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

Eventing script timeouts are not properly reported in the aggregate log messages.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Neo.next
    • 7.0.0
    • eventing
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      On a timeout exception we get aggregated messages once a minute - but we don't have a filled in exception/file/line etc.

      2021-08-10T16:16:10.245-07:00 [INFO] {"count":41,"exception":"","file":"","line":0,"since":"2021-08-10T16:16:10","srcLine":"","stack":""}

      Test to reproduce

      // Set script timeout to 3 seconds.
      // Set Deployment Feed Boundary to 'Everything'.
      // Deploy the function against source travel-sample._default._default 
      // Wait 80+ seconds then look at the log.
      function OnUpdate(doc, meta) {
       log('A',meta.id);
       while(true) {
         if (crc64(doc) === -1) break; // will never break
       }
       log('B',meta.id); // will never reach this
      }

       

      Attachments

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

        Activity

          People

            abhishek.jindal Abhishek Jindal
            jon.strabala Jon Strabala
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty