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

        No work has yet been logged on this issue.

          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