Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-132

Exception: 'Failed to access the view' when rebalancing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-dp3
    • Fix Version/s: 1.1-dp4
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None
    • Environment:
      2.0 Beta, 1.1 DP3

      Description

      View fails when rebalancing from 3 to 1 node and back up.

      During the whole process, access a view.
      3 server in one cluster.

      • Manual failover one node, and then rebalance. It is fine.
      • Then manual failover another one, and then rebalance, and at this time in the system there is only one node,
      • Add 2 nodes back into the cluster and rebalance.
      • Sometimes it will throw the "Failed to access the view" exception, and sometimes the CouchbaseClient.getView() call will return NULL.

      This issue is also seen when adding nodes to a cluster.

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

        Activity

        Hide
        ingenthr Matt Ingenthron added a comment -

        Passing to Michael to reproduce and investigate.

        Show
        ingenthr Matt Ingenthron added a comment - Passing to Michael to reproduce and investigate.
        Hide
        daschl Michael Nitschinger added a comment -

        The changeset http://review.couchbase.com/#/c/21338/ now doesn't return null when the view is found but instead raises an appropriate exception.

        Show
        daschl Michael Nitschinger added a comment - The changeset http://review.couchbase.com/#/c/21338/ now doesn't return null when the view is found but instead raises an appropriate exception.

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            james.mauss James Mauss
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes