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"

    XMLWordPrintable

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

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            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

                PagerDuty