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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • 2.0-beta-2
    • ns_server, view-engine
    • Security Level: Public

    Description

      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: http://184.169.209.178:8091/ (usual credentials)
      Here are all the IP addresses:
      ns_1@10.176.29.176 10.176.29.176 184.169.209.178 ns_1@10.176.9.41
      ns_1@10.176.9.41 10.176.9.41 50.18.23.114 ns_1@10.176.9.41
      ns_1@10.168.103.76 10.168.103.76 204.236.154.91 ns_1@10.176.9.41
      ns_1@10.176.145.104 10.176.145.104 54.241.117.117 ns_1@10.176.9.41

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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty