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

Flush bucket event is malformed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • ns_server
    • Security Level: Public
    • 1372
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      1. Create bucket and enabled for flush.
      2. Flush the bucket and validate actual event with event descriptor
      3. Field 'real_userid' is malformed.

      Expected event:
      {
      "id": 8204,
      "name": "flush bucket",
      "description": "Bucket was flushed",
      "sync": false,
      "enabled": true,
      "mandatory_fields": {
      "timestamp": "",
      "real_userid":

      { "source": "", "user": "" }

      ,
      "remote":

      { "ip": "", "port": 1 }

      ,
      "bucket_name": ""
      },
      "optional_fields":

      { "sessionid": "" }

      }

      Actual Event:
      {"bucket_name":"TestBucket","real_userid":"anonymous","remote":

      {"ip":"192.168.2.33","port":58908}

      ,"timestamp":"2015-02-26T09:15:43.917-08:00","id":8204,"name":"flush bucket","description":"Bucket was flushed"}

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            ritam.sharma Ritam Sharma
            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