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

[BP 6.5.1 MB-36796] - EXPLAIN/PREPARE query failing with eventing handler with syntax error

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Build: 6.5.0-4756

      Query EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" }) , failing with syntax error. 

      function OnUpdate(doc, meta) {
          try{
              var query=EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" });        var key = Date.now()+Math.random();
              dst_bucket[key]={'passed_query' : 'EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" });
      '};
          }
          catch(e){
              var key = Date.now()+Math.random();
              dst_bucket[key]={'failed_query' : 'EXPLAIN UPSERT INTO src_bucket VALUES ("key1", { "a" : "b" });
      '};
          }
      } 

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-37555
          # Subject Branch Project Status CR V

          Activity

            Build couchbase-server-6.5.1-6259 contains eventing commit d2f0891 with commit message:
            MB-37555 Do not multiplex query settings with options

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.1-6259 contains eventing commit d2f0891 with commit message: MB-37555 Do not multiplex query settings with options

            Build couchbase-server-1006.5.1-1089 contains eventing commit d2f0891 with commit message:
            MB-37555 Do not multiplex query settings with options

            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1089 contains eventing commit d2f0891 with commit message: MB-37555 Do not multiplex query settings with options

            verified on 6.5.1 build 6262 

            vikas.chaudhary Vikas Chaudhary added a comment - verified on 6.5.1 build 6262 

            Build couchbase-server-1006.5.1-1125 contains eventing commit d2f0891 with commit message:
            MB-37555 Do not multiplex query settings with options

            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1125 contains eventing commit d2f0891 with commit message: MB-37555 Do not multiplex query settings with options

            Build couchbase-server-1006.5.1-1125 contains eventing commit ef9f275 with commit message:
            MB-37555 Add ability to prepare N1QL queries

            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1125 contains eventing commit ef9f275 with commit message: MB-37555 Add ability to prepare N1QL queries

            People

              Gautham.Banasandra Gautham Banasandra (Inactive)
              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