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

Preview Random Document in the View tab doesn't show the actual values for rev, expiration, flags

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: UI
    • Security Level: Public

      Description

      build-1710

      case could be simple, for instance, on python:

      for i in xrange(self.num_docs):
      pref = str
      self.docs["id" + pref] = "value"*100 + pref
      for doc in self.docs:
      self.awareness.set(doc, int(self.expiration), 0, self.docs[doc])

      for i in xrange(self.num_docs):
      pref = str
      self.docs["id" + pref] = "value"*10 + pref
      for doc in self.docs:
      self.awareness.set(doc, int(self.expiration), 0, self.docs[doc])

      create view, and using Preview Random Document feature we can see metaInfo in which values for rev, expiration, flags are not changed at all

      { "id": "test_docs-529", "rev": "1-00000000000000000000000000000000", "att_reason": "invalid_key", "expiration": 0, "flags": 0, "type": "base64" }

      are there any reasons why it works that way so far?

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

        Activity

        andreibaranouski Andrei Baranouski created issue -
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Field Original Value New Value
        Assignee Pavel Blagodov [ pavel ] Aleksey Kondratenko [ alkondratenko ]
        farshid Farshid Ghods (Inactive) made changes -
        Labels 2.0-beta-release-notes
        dipti Dipti Borkar made changes -
        Summary Preview Random Document doesn't show the actual values for rev, expiration, flags Preview Random Document in the View tab doesn't show the actual values for rev, expiration, flags
        peter peter made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        iryna iryna made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Aleksey Kondratenko [ alkondratenko ] Iryna Mironava [ iryna ]

          People

          • Assignee:
            iryna iryna
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes