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

Use Hello to determine if collections are available

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.7
    • 3.1.5
    • library
    • None
    • 1

    Description

      On 3.1.5/3.1.6 this manifests as an exception logged in DEBUG mode that should be ignored:

       
      2021-05-24T15:56:16.6837484-07:00 [DBG] Op failed: "Couchbase.Core.IO.Operations.Collections.GetCid" (01625f1d)
      Couchbase.Core.Exceptions.InvalidArgumentException: Exception of type 'Couchbase.Core.Exceptions.InvalidArgumentException' was thrown.
       at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair)
      -----------------------Context Info---------------------------
      {"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"34","Cas":0,"Status":4,"BucketName":"default","CollectionName":null,"ScopeName":null,"Message":"KV Error: \{Name=\"EINVAL\", Description=\"Invalid packet\", Attributes=\"internal,invalid-input\"}","OpCode":"GetCidByName"}
       
      2021-05-24T15:56:16.6889110-07:00 [INF] Possible non-terminal error fetching CID. (e7f3ddd1)
      Couchbase.Core.Exceptions.InvalidArgumentException: Exception of type 'Couchbase.Core.Exceptions.InvalidArgumentException' was thrown.
       at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair)
       at Couchbase.CouchbaseBucket.SendAsync(IOperation op, CancellationTokenPair tokenPair)
       at Couchbase.Core.Retry.RetryOrchestrator.RetryAsync(BucketBase bucket, IOperation operation, CancellationTokenPair tokenPair)
       at Couchbase.KeyValue.CouchbaseCollection.GetCidAsync(String fullyQualifiedName, Boolean sendAsBody)
       at Couchbase.KeyValue.CouchbaseCollection.PopulateCidAsync()
      -----------------------Context Info---------------------------
      {"DispatchedFrom":null,"DispatchedTo":null,"DocumentKey":"","ClientContextId":"34","Cas":0,"Status":4,"BucketName":"default","CollectionName":null,"ScopeName":null,"Message":"KV Error: \{Name=\"EINVAL\", Description=\"Invalid packet\", Attributes=\"internal,invalid-input\"}","OpCode":"GetCidByName"}
      

       

      It is fixed in 3.1.7.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty