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

dev-views index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-2
    • Fix Version/s: 2.0
    • Security Level: Public
    • Environment:


      i tried the following scenario on the latest build:
      1. Create cluster of 2 nodes. load 1M items, 1K each with cbworkloadgen ./cbworkloadgen -n localhost:8091 -i10000000 -t6 -j -s1000
      2. Create 1DD, with 4 simple views, of which 2 had _count reduce function so i can count all documents on that view.
      3. I built the index and confirmed that the _count views return 1M items, i.e. index was built successfully.
      4. I added 2 more nodes to the cluster and rebalance.
      5. During the rebalance, i refreshed the _count views.
      Expected behavior (with consistent views enabled by default) is that i will get the same 1M items during the reblance
      Observed behavior: the number kept changing, and decreasing over time to 900K, 800K..

      Iryna, can you collect the neccesary logs from this cluster and post it on this bug.
      Cluster can be found at: (usual credentials)
      Here are all the IP addresses:
      ns_1@ ns_1@
      ns_1@ ns_1@
      ns_1@ ns_1@
      ns_1@ ns_1@

      I did a few things on this cluster like creating and removing indexes/nodes. so look at the logs at the end.

        743 kB
        Deepkaran Salooja
        505 kB
        Deepkaran Salooja
        500 kB
        Deepkaran Salooja
        994 kB
        Deepkaran Salooja
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.


        No work has yet been logged on this issue.


          • Assignee:
            mccouch MC Brown (Inactive)
            sharon Sharon Barr (Inactive)
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes