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

Editing _rev or _id causes strange behavior in 2.0 build 1362

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.0-beta
    • None
    • UI
    • Security Level: Public
    • None
    • Build 1362

    Description

      Steps to reproduce:
      -Select to create new document in bucket
      -Put in sample JSON:
      {
      "test": {}
      }

      -Click save
      -New document shows up as:
      {
      "_id": "sample6",
      "_rev": "3-0002fa0e153175350000000000000000",
      "test": {},
      "$expiration": 0,
      "$flags": 0
      }

      -Edit "_rev" (or edit "_id")
      -Click save
      -Document shows up as:
      {
      "test": {},
      "$expiration": 0,
      "$flags": 0
      }

      -It's still available in a view, but has no _id or _rev tag, yet the $expiration and $flags are still there. I'm pretty sure this will cause problems with warmup, XDCR, etc.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty