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

Hybrid workload with rebalance scenario - error in accessing view

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.6
    • Fix Version/s: None
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      Attached is the log and following is the stack trace -

      SDKD: May 10, 2013 1:32:51 AM com.couchbase.sdkd.cbclient.CommandResult warnAbout
      SDKD: WARNING: Unknown exception encountered (for operation) future warnings will be suppressed
      SDKD: java.lang.RuntimeException: Failed to access the view
      SDKD: at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:871)
      SDKD: at com.couchbase.sdkd.cbclient.ViewQueryCommandContext.execIter(ViewQueryCommandContext.java:252)
      SDKD: at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:374)
      SDKD: at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:168)
      SDKD: at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:189)
      SDKD: at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:245)
      SDKD: Caused by: java.util.concurrent.ExecutionException: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.
      SDKD: at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:90)
      SDKD: at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)
      SDKD: at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)
      SDKD: at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:864)
      SDKD: ... 5 more
      SDKD: Caused by: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.
      SDKD: at com.couchbase.client.protocol.views.NoDocsOperationImpl.parseError(NoDocsOperationImpl.java:106)
      SDKD: at com.couchbase.client.protocol.views.ViewOperationImpl.handleResponse(ViewOperationImpl.java:68)
      SDKD: at com.couchbase.client.ViewNode$MyHttpRequestExecutionHandler.handleResponse(ViewNode.java:204)
      SDKD: at org.apache.http.nio.protocol.AsyncNHttpClientHandler.processResponse(AsyncNHttpClientHandler.java:417)
      SDKD: at org.apache.http.nio.protocol.AsyncNHttpClientHandler.inputReady(AsyncNHttpClientHandler.java:242)
      SDKD: at com.couchbase.client.http.AsyncConnectionManager$ManagedClientHandler.inputReady(AsyncConnectionManager.java:249)
      SDKD: at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:172)
      SDKD: at org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:155)
      SDKD: at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)
      SDKD: at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)
      SDKD: at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
      SDKD: at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)
      SDKD: at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
      SDKD: at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)
      SDKD: at java.lang.Thread.run(Thread.java:619)

        Issue Links

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

          Activity

          Hide
          daschl Michael Nitschinger added a comment -

          Hey,

          this is a duplicate (tracked somewhere else, but I dont remeber the exact ticket)

          More importantly, this is a bug on the server side, we can't do much about it at the moment. Anyway, closing this since we don't want to track it twice!

          Show
          daschl Michael Nitschinger added a comment - Hey, this is a duplicate (tracked somewhere else, but I dont remeber the exact ticket) More importantly, this is a bug on the server side, we can't do much about it at the moment. Anyway, closing this since we don't want to track it twice!

            People

            • Assignee:
              daschl Michael Nitschinger
              Reporter:
              deeptida Deepti Dawar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes