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

JS-UDF N1QL query iterator closes with another DML is submitted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • query
    • Untriaged
    • 1
    • Unknown

    Description

      The query iterator (q1) closes when another DML  (select or insert) is submitted

      var edge=[];

      var q1 = N1QL("select * from routes"); // expected 67K
          for (const doc of q1)

      {             edge.push(doc);           var x = N1QL("select count(*) from "+debug_ks);            x.close();     }

          q1.close();

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            binh.le Binh Le
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty