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

SetWithMeta allows key-less docs to be created by clients

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 4.0.0
    • 4.0.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Triaged
    • No
    • Mar 9 - Mar 27

    Description

      Build


      4.0.0-2213

      In a particular upgrade scenario, the number of docs on a cluster was more than the docs loaded. While analyzing the couch files, I found key less, value-less docs (see screenshot) -

      From a single-node cluster:
      Arunas-MacBook-Pro:bin apiravi$ ./couch_dbdump ~/Downloads/opt/couchbase/var/lib/couchbase/data/sasl_bucket_1/couch. |grep -v "id: load"|grep -A 7 -B 1 "id"
      Doc seq: 6
      id:
      rev: 1
      content_meta: 131
      size (on disk): 36
      cas: 1432366575452880896, expiry: 0, flags: 0, datatype: 0, conflict_resolution_mode: 0
      size: 512
      data: (snappy)
      Dumping "/Users/apiravi/Downloads/opt/couchbase/var/lib/couchbase/data/sasl_bucket_1/193.couch.1":

      --
      Doc seq: 5
      id:
      rev: 1
      content_meta: 131
      size (on disk): 36
      cas: 1432366574410727424, expiry: 0, flags: 0, datatype: 0, conflict_resolution_mode: 0
      size: 512
      data: (snappy)
      Dumping "/Users/apiravi/Downloads/opt/couchbase/var/lib/couchbase/data/sasl_bucket_1/657.couch.1":

      Attaching logs from .19.

      While we have a bug created to handle this inside xdcr, can ep-engine not allow key-less docs to be created?

      Attachments

        1. 10.1.2.19-5232015-115-couch.tar.gz
          1.93 MB
          Aruna Piravi
        2. Screen Shot 2015-05-28 at 5.18.48 PM.png
          91 kB
          Aruna Piravi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            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