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

Eventing meta data not visible on the UI after xattr operations.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • None
    • 7.6.2
    • eventing
    • Enterprise Edition 7.6.2 build 3680

    Description

      Eventing meta data is only visible in the UI for source bucket mutations in xattrs. These fields are missing if the bucket bindings are to a different bucket while performing xattr operations. PFA the images of both the documents. 

      function OnUpdate(doc, meta, xattrs) { function OnUpdate(doc, meta, xattrs) {
          var meta = {"id": meta.id};
          couchbase.insert(dst_bucket, meta, doc);
          couchbase.mutateIn(src_bucket, meta,[couchbase.MutateInSpec.upsert("path",1 , { "xattrs": true })]);
          couchbase.mutateIn(dst_bucket, meta, [couchbase.MutateInSpec.upsert("path",1 , { "xattrs": true })]);
      }
       
      function OnDelete(meta, options) {
          log("Doc deleted/expired", meta.id);
      }
      

      Attachments

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

        Activity

          People

            barkha.goyal Barkha Goyal
            barkha.goyal Barkha Goyal
            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