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

querying for views during rebalancing through node's REST api before it has any active vbucket return ""error":"no_active_vbuckets"

    Details

      Description

      test
      -t viewquerytests.ViewQueryTests.test_employee_dataset_startkey_endkey_queries_rebalance_incrementaly,skip_rebalance=true

      steps to repro:
      1. load data
      2. start rebalance 1->2
      3. wait some time, (in my case rebalance is going on 15 mins) try to see documents or query view from node which is adding to cluster
      no_active_vbuckets error appears
      iryna@ubuntu:~/couchbase/testrunner$ curl -v 'http://10.3.121.105:8092/default/_design/test_view-df0f1d8/_view/test_view-df0f1d8?debug=true&start_key=%5B2008%2C7%2Cnull%5D&connection_timeout=60000'

      • About to connect() to 10.3.121.105 port 8092 (#0)
      • Trying 10.3.121.105...
      • connected
      • Connected to 10.3.121.105 (10.3.121.105) port 8092 (#0)
        > GET /default/_design/test_view-df0f1d8/_view/test_view-df0f1d8?debug=true&start_key=%5B2008%2C7%2Cnull%5D&connection_timeout=60000 HTTP/1.1
        > User-Agent: curl/7.26.0
        > Host: 10.3.121.105:8092
        > Accept: /
        >
        < HTTP/1.1 404 Object Not Found
        < Server: MochiWeb/1.0 (Any of you quaids got a smint?)
        < Date: Wed, 12 Sep 2012 22:07:23 GMT
        < Content-Type: text/plain;charset=utf-8
        < Content-Length: 106
        < Cache-Control: must-revalidate
        < {"error":"no_active_vbuckets","reason":"Cannot execute view query since the node has no active vbuckets"}
      • Connection #0 to host 10.3.121.105 left intact
      • Closing connection #0
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        iryna iryna created issue -
        iryna iryna made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Iryna Mironava [ iryna ]
        iryna iryna made changes -
        Summary unable to access documents and query views from rebalancing in from 1 to 2 nodes for node that is adding to cluster: unable to access documents and query views from rebalancing in from 1 to 2 nodes
        farshid Farshid Ghods (Inactive) made changes -
        Component/s ns_server [ 10019 ]
        Component/s view-engine [ 10060 ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Iryna Mironava [ iryna ] Aleksey Kondratenko [ alkondratenko ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Iryna Mironava [ iryna ]
        iryna iryna made changes -
        Assignee Iryna Mironava [ iryna ] Aleksey Kondratenko [ alkondratenko ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0-beta-refresh [ 10385 ]
        Fix Version/s 2.0-beta [ 10113 ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary for node that is adding to cluster: unable to access documents and query views from rebalancing in from 1 to 2 nodes querying for views during rebalancing through node's REST api before it has any active vbucket return ""error":"no_active_vbuckets"
        Labels regression 2.0-beta-release-notes regression
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            iryna iryna
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes