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

non-monotonic views during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 4.0.0
    • 4.0.0
    • Security Level: Public
    • Untriaged
    • Yes
    • Mar 9 - Mar 27

    Description

      I'm able to see that views are not behaving correctly under rebalance. Specifically.

      • start 4 nodes dev cluster.
      • set up 1 node initially.
      • create bucket default
      • upload some docs (in my case via ./generate-keyset.rb -k 2000000 -v 80 | GOMAXPROCS=8 \time maxi)
      • create trivial index (mapping id to null) in ui and publish it
      • wait until it is built and observe on UI that first page indeed has ids from 0 to 9 (generate-keyset program produces keys in form "%08d" % [counter] )
      • add 3 remainaing nodes and click rebalance
      • on views UI click Show button periodically

      Most of the time view results are stable (as required). I.e. I'm seeing same 0 to 9 docs on first page. However occasionally one or more rows are missing so I'm seeing doc with id 00000010.

      I'm pretty sure this used to work in 2.0.

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            alkondratenko Aleksey Kondratenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty