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

N1QL UDF : Handle race between Stop() and a cancelled Call()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • None
    • js-evaluator
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      For nested UDF scenario if timeout occurred while running a nested udf, we will call Stop() on the top level UDF which will wait for the nested to complete.

      However, before we get opportunity to set finished = false, goroutine from Call() will go ahead and trigger the return path.

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            abhishek.jindal Abhishek Jindal
            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