Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3005

GetCidByName fails with "Not connected to any bucket"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.5
    • 3.2.4
    • library
    • None
    • Couchbase Operator 2.2.1
      Couchbase Server 7.0.2
      1 data node, 1 index node

      Running in AKS and accessing the couchbase cluster using external networking
    • 1

    Description

      If GetCidByName (GetCid operation) is routed to a non-kv node, then the following exception will be logged and thrown:

      2021-12-01T12:22:42.4280790-08:00  [DBG] Op failed: "Couchbase.Core.IO.Operations.Collections.GetCid" (01625f1d)
      Couchbase.CouchbaseException: Exception of type 'Couchbase.CouchbaseException' was thrown.
         at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair) in C:\Users\Jeff Morris\source\couchbase-net-client\src\Couchbase\Core\ClusterNode.cs:line 568
      -----------------------Context Info---------------------------
      {"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"22","Cas":0,"Status":8,"BucketName":"default","CollectionName":null,"ScopeName":null,"Message":"KV Error: {Name=\"NO_BUCKET\", Description=\"Not connected to any bucket\", Attributes=\"conn-state-invalidated\"}","OpCode":"GetCidByName"}
      

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jblackburn Jason Blackburn
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty